fork / process and >
Posted: Tue May 20, 2008 11:27 am
Hi Lutz,
Why does a (process {ls -la >}) executes and exits?
or (fork {ls -al >})) or (process "ls -al &>./file")
Im trying to get a script running with process but it
is redirecting data to i.e. &>/dev/null)
Process & fork start and exists newlisp right away..
(exec) does not work because the binary does not return instantly.
(process (first (exec ))) does also not work because the binary is not returning, not even with a & at the end..
So im stuck with (process) but the > spoils it..
Any idea?
Why does a (process {ls -la >}) executes and exits?
or (fork {ls -al >})) or (process "ls -al &>./file")
Im trying to get a script running with process but it
is redirecting data to i.e. &>/dev/null)
Process & fork start and exists newlisp right away..
(exec) does not work because the binary does not return instantly.
(process (first (exec ))) does also not work because the binary is not returning, not even with a & at the end..
So im stuck with (process) but the > spoils it..
Any idea?