Type | Bug | Status | complete | Date | 31-Oct-2010 15:34 |
---|---|---|---|---|---|
Version | alpha 109 | Category | Unspecified | Submitted by | abolka |
Platform | All | Severity | minor | Priority | normal |
Summary | When running a script with the --cgi flag, the interpreter does not quit automatically |
---|---|
Description |
When running a script without the cgi flag, the interpreter quits automatically after the script "completes". When running a script with the cgi flag, the interpreter does not quit but drop to the console after the script "completes". A temporary workaround is to have an explicit QUIT/now in the CGI. But given that the console is particularly useless in a CGI, there is no good reason for this deviation in behaviour, so running with the cgi flag should be fixed to also quit like for "normal" scripts. |
Example code |
$ cat foo.r REBOL [] print 42 $ rebol3 -q foo.r 42 $ # GOOD: we're back at the shell $ rebol3 -qc foo.r 42 >> ; BAD: we're still in rebol |
Assigned to | n/a | Fixed in | alpha 110 | Last Update | 23-Dec-2012 12:19 |
---|
Date | User | Field | Action | Change |
---|---|---|---|---|
23-Dec-2012 12:19 | abolka | Status | Modified | tested => complete |
2-Nov-2010 19:07 | abolka | Status | Modified | built => tested |
1-Nov-2010 04:44 | carl | Fixedin | Modified | => alpha 110 |
1-Nov-2010 04:44 | carl | Status | Modified | reviewed => built |
1-Nov-2010 00:08 | carl | Status | Modified | submitted => reviewed |
31-Oct-2010 15:53 | abolka | Description | Modified | - |
31-Oct-2010 15:53 | abolka | Code | Modified | - |
31-Oct-2010 15:34 | abolka | Ticket | Added | - |