the attached patch adds a new signature for spawnw so it can take a PMC
array of arguments rather than a single string. with this, parrot can
support perl's system($cmd) as well as system(@args). tests are
included, though i only have unix platforms to test on right now.
-jeff
> the attached patch adds a new signature for spawnw so it can take a PMC
> array of arguments rather than a single string.
Thanks, applied - this one, there was a second mail with a patch.
Please note that patches to platform code need special consideration WRT
other platforms.
Patches to config/gen/platform/generic/ need at least a dummy
implementation in other platforms that don't inherit the generic version
of the platform file. This is in this case additionally:
$ ls config/gen/platform/*/exec.c
config/gen/platform/ansi/exec.c config/gen/platform/win32/exec.c
I've put in an empty stub for both, implementations for win32 are
welcome.
leo