On Thu, 2009-11-12 at 15:28 -0800, Geoffrey Broadwell wrote: > > C:\fperrad\Parrot\parrot-plumage>parrot-nqp t\sanity.t > > 1..18 > > Can't spawn child process > > current instr.: 'run' pc 0 (src/lib/Glue.pir:88) > > called from Sub 'test_invalid' pc 1021 (EVAL_1:336) > > called from Sub 'run_tests' pc 267 (EVAL_1:124) > > called from Sub 'MAIN' pc 195 (EVAL_1:0)
Oh, this is interesting. It looks like on Windows instead of returning an error code when trying to 'spawnw' a non-existent program, parrot is throwing an exception instead ... ... yep. On *nix, parrot throws an exception on fork fail, but either an error code or just plain exit() on exec fail. On Windows, CreateProcess fail results in a thrown exception. Yuck. OK, working around the mess ... ... done, pushed. OK, try the latest Plumage, please! -'f _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
