Closed GoogleCodeExporter closed 9 years ago
Thank you for your suggestion!
-- fujita
Original comment by y.fujita...@gmail.com
on 30 Mar 2009 at 4:19
I have fixed the bug and trunk directory is updated to revision 417.
Ypsilon 0.9.6-trunk/r417 Copyright (c) 2009 Y.Fujita, LittleWing Company
Limited.
> (system "exit 42")
42
Regarding process-wait,
I have experimentally modified process-wait and it returns (- WTERMSIG(status))
if
child process terminated by signal.
Ypsilon 0.9.6-trunk/r417 Copyright (c) 2009 Y.Fujita, LittleWing Company
Limited.
> (define pid (car (process "/bin/sh" "-c" "exit 42")))
> (process-wait pid #t)
42
> (define pid (car (process "cat")))
> (system (format "kill -TERM ~a" pid))
0
> (process-wait pid #t)
-15
Your comments are very welcome! Thank you!
--fujita
Original comment by y.fujita...@gmail.com
on 6 Apr 2009 at 1:48
For consistency, I'd do the same for `system' as well; patch attached.
Original comment by rott...@gmail.com
on 6 Apr 2009 at 2:46
Attachments:
Thank you for your help. :)
I have updated 'system'.
Thank you!
--fujita
Original comment by y.fujita...@gmail.com
on 7 Apr 2009 at 1:24
Original issue reported on code.google.com by
rott...@gmail.com
on 30 Mar 2009 at 12:16