On Dec 18, 2008, at 10:34 AM, Salvador Fandino wrote:
I want to vfork and exec a child process from an XS subroutine, but
I always got the following error:
%SYSTEM-W-UNWIND, unwind currently in progress
The same code as an standalone program just works.
The same code as a standalone program is really not the same code. I
would really recommend against using CRTL methods for creating
subprocesses from XS code. When you are writing XS you are extending
Perl, so you should do whatever Perl does. In this case, that
probably means calling Perl_pp_system or Perl_do_spawn.
________________________________________
Craig A. Berry
mailto:craigbe...@mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser