Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Shell error code

 [1/3] from: jacereda::users::sourceforge::net at: 15-Aug-2004 2:01


Is it possible to return an error code from a rebol script to the shell that invoked it? TIA, Jorge Acereda

 [2/3] from: tomc:darkwing:uoregon at: 15-Aug-2004 13:29


hi Jorge no, please send to feedback so they know it is important to someone besides myself ;) I have requested 'quit take an optional integer argument to pass back to the calling shell (default to zero if ommited ) there is some interest from RT but it has not made it to a priority yet. On Sun, 15 Aug 2004, [ISO-8859-1] Jorge Acereda Maci=E1 wrote:

 [3/3] from: jacereda:users:sourceforge at: 15-Aug-2004 23:19


On 15/08/2004, at 22:29, Tom Conlin wrote:
> hi Jorge > no,
<<quoted lines omitted: 4>>
> there is some interest from RT but it has not made it to a priority > yet.
I would be interested in making THROW quit with a non-zero status when executed from a script (with the -s flag), but it could be implemented having a QUIT/STATUS. I have already submetted a bug report. Let's hope it gets added to the next release. Meanwhile it is possible to implement workarounds. It is ugly, but tell me if you're interested. Greetings, Jorge Acereda

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted