CDAT / vcdat

vCDAT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running `vcdat &` does not work

James-Crean opened this issue · comments

When running vCDAT as such: vcdat &

Results in the webpage not being served. It looks like this is due to the way that the vcdat script expects stdin to be hooked up to user input. This also happens to break jenkins when trying to automate the integration/end-to-end testing.

This:

try:
    for line in sys.stdin:
        pass
except KeyboardInterrupt:
    print ""

Should probably be replaced with something along the lines of:

try:
    while True:
        pass
except KeyboardInterrupt:
    print ""

Once this is fixed, the documentation for server installation can be updated, as it currently warns against using vcdat &

Fixed in #292 and #293