From: David Vallner Date: 2006-12-14T04:32:46+09:00 Subject: Re: Ruby, Windows XP, and CMD.exe --------------enigD1CA7F7391BA60FABE2C632B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ara.t.howard@noaa.gov wrote: >> How are you launching that process? >> >> system() or `` are Bad Ideas, IO.popen should do what you need. >=20 > why would say that? IO.popen and more than one thread is a disaster on= > windows: if the parent doesn't read from the process fast enough one > will end > up with deadlock. >=20 I made (unconsciously) a guess that it's a fire-and-forget subprocess, the simpler case why it would be necessary that it doesn't block the parent. Seems (from the later followup) I guessed right, but thanks for bringing that point up for cases when it isn't, I'm admittedly flaky when it comes to process synchronisation. David Vallner --------------enigD1CA7F7391BA60FABE2C632B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFgFVYy6MhrS8astoRAslvAJ0TrD4e5tBOPlPnJhk+Bkbb1MsaRACfae5o JwOuSpycrV/bl7IBo9DXdes= =wRWx -----END PGP SIGNATURE----- --------------enigD1CA7F7391BA60FABE2C632B--