chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Can't get exit values of (process...)?


From: Robin Lee Powell
Subject: Re: [Chicken-users] Can't get exit values of (process...)?
Date: Tue, 16 Jan 2007 22:28:01 -0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Jan 14, 2007 at 09:53:00PM -0800, Robin Lee Powell wrote:
> 
> The only way I see to get the exit value of something I call with
> (process...) is to use (process-wait), but as I mentioned in another
> mail, this errors out my entire program if the process is already
> finished, so I can't see any way to do all of the following:
> 
> 1.  Call process
> 
> 2.  Read and write data with the new process
> 
> 3.  Get the new process's exit value, regardless of when during
> step 2 it exited.
> 
> Suggestions?

The more I work with this code, the more important this is becoming.

Even if I could get process-wait to not error out, it wouldn't give
me the exit value if the child process is already finished.

Help?

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]