[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] process-wait on pid returned by process
From: |
Felix Winkelmann |
Subject: |
Re: [Chicken-users] process-wait on pid returned by process |
Date: |
Sat, 23 Feb 2008 22:15:51 +0100 (CET) |
From: Alejandro Forero Cuervo <address@hidden>
Subject: [Chicken-users] process-wait on pid returned by process
Date: Sat, 23 Feb 2008 12:04:12 -0800
> Anyone care to explain why this fails?
>
> (receive (in out pid)
> (process "cat")
> (close-output-port out)
> (close-output-port in)
Are these both "close-output-port"? (I guess this is a typo)
> (process-wait pid))
>
> I get:
>
> Error: (process-wait) waiting for child process failed - No child processes:
> 7548
>
closing both input and output ports will automatically do the
process-wait for you.
cheers,
felix