Joel Dice
3d18f88ad9
fix Runtime.exec bugs
...
The first bug affected POSIX systems: if the app never called
Process.waitFor, we'd never call waitpid on the child and thus leak a
zombie process. This patch ensures that we always call waitpid by
spawning a thread to handle it.
The second bug affected Windows systems: we weren't closing the
child's ends of the stdin, stdout, and stderr pipes after process
creation, which lead to us blocking forever while reading from the
child's stdout or stderr.
2010-11-09 10:22:23 -07:00
..
2009-09-18 18:01:54 -06:00
2009-12-02 19:08:29 -07:00
2010-03-07 12:03:17 -07:00
2009-06-02 17:14:38 -06:00
2008-03-21 13:48:42 -06:00
2009-06-03 16:17:55 -06:00
2008-02-19 11:06:52 -07:00
2008-08-05 14:06:37 -06:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2009-12-02 19:08:29 -07:00
2008-07-03 10:49:08 -06:00
2009-12-02 19:08:29 -07:00
2008-02-19 11:06:52 -07:00
2010-08-16 09:23:48 -06:00
2009-06-03 16:17:55 -06:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-28 08:35:16 -07:00
2009-12-02 19:08:29 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2009-06-03 16:17:55 -06:00
2008-02-28 08:35:16 -07:00
2010-08-16 09:23:48 -06:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2010-08-16 09:23:48 -06:00
2008-02-19 11:06:52 -07:00
2008-10-08 13:51:19 -06:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2010-02-02 09:33:10 -07:00
2008-03-20 18:39:25 -06:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2009-12-02 19:08:29 -07:00
2008-02-19 11:06:52 -07:00
2008-08-05 14:15:10 -06:00
2009-12-02 19:08:29 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2010-11-09 10:22:23 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2010-09-11 21:23:46 +02:00
2008-02-19 11:06:52 -07:00
2009-06-03 16:17:55 -06:00
2009-12-02 19:08:29 -07:00
2010-09-11 21:23:46 +02:00
2009-12-02 19:08:29 -07:00
2009-12-02 19:08:29 -07:00
2008-08-05 14:15:10 -06:00
2010-09-11 21:23:46 +02:00
2009-10-26 11:44:29 -06:00
2009-06-03 16:17:55 -06:00
2009-12-22 21:34:04 -07:00
2008-02-19 11:06:52 -07:00
2009-12-02 19:08:29 -07:00
2008-02-19 11:06:52 -07:00
2008-02-19 11:06:52 -07:00
2009-06-03 16:17:55 -06:00
2008-02-19 11:06:52 -07:00