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

[REBOL] Re: Using 'call

From: tim-johnsons:web at: 18-Apr-2006 9:00

* Gregg Irwin <greggirwin-mindspring.com> [060418 08:40]:
> Hi Tim, > > AFAIK, the result of call is always the exit code of the process (and > a non-zero result means an error, yes). You can use the /info > refinement, and probe the result, to see for sure. > > I don't know what a 204 result for ls is though, or why it only occurs > if you're grabbing the output. Sub'ing DIR for ls here (on Windows), > returns 0 either way. Hopefully someone on Linux will jump in here.
;; Thanks Gregg. Using /info gives me this:
>> probe res
make object! [ id: 31269 ;; process ID? exit-code: 204 ;; hmm! will post to linuxquestions.org ] tim -- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com