Re: We have spawn, and now we need exec

2004-08-07 Thread Dan Sugalski
At 12:06 AM +0100 8/6/04, Jonathan Worthington wrote: Dan Sugalski [EMAIL PROTECTED] wrote: Which was just a dopey oversight on my part when this got put in. I'm adding an exec opcode alongside the spawn opcode. Does what you'd expect an exec to do. I've updated config/gen/platform

We have spawn, and now we need exec

2004-08-05 Thread Dan Sugalski
Which was just a dopey oversight on my part when this got put in. I'm adding an exec opcode alongside the spawn opcode. Does what you'd expect an exec to do. I've updated config/gen/platform generic/exec.c with proper code, and win32/exec.c and ansi/exec.c with a stub that pitches a fit if you

Re: We have spawn, and now we need exec

2004-08-05 Thread Brent 'Dax' Royal-Gordon
Dan Sugalski wrote: I'd love it if someone with windows experience could fill in the blank there. Just add an _ before exec. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt__exec.2c_._wexec_functions.asp -- Brent Dax Royal-Gordon [EMAIL PROTECTED] Perl and

Re: We have spawn, and now we need exec

2004-08-05 Thread Dan Sugalski
At 10:37 AM -0700 8/5/04, Brent 'Dax' Royal-Gordon wrote: Dan Sugalski wrote: I'd love it if someone with windows experience could fill in the blank there. Just add an _ before exec. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt__exec.2c_._wexec_functions.asp

Re: We have spawn, and now we need exec

2004-08-05 Thread Aaron Sherman
On Thu, 2004-08-05 at 13:43, Dan Sugalski wrote: Cool. On the Unix platforms we exec off 'sh' and pass in parameters (so we get command parameters split up right, IIRC). I'm presuming we don't do the same for Windows, so I'll make it the plain command and hope it all works out. Well,

Re: We have spawn, and now we need exec

2004-08-05 Thread Aaron Sherman
On Thu, 2004-08-05 at 14:11, Aaron Sherman wrote: Parrot could easily make the distinction based on being passed a string value or a PMC array of some sort and end up with roughly the same functionality as Perl (though Perl itself would not use this as-is, as it decides further based on the

Re: We have spawn, and now we need exec

2004-08-05 Thread Dan Sugalski
At 2:11 PM -0400 8/5/04, Aaron Sherman wrote: On Thu, 2004-08-05 at 13:43, Dan Sugalski wrote: Cool. On the Unix platforms we exec off 'sh' and pass in parameters (so we get command parameters split up right, IIRC). I'm presuming we don't do the same for Windows, so I'll make it the plain

Re: We have spawn, and now we need exec

2004-08-05 Thread Jonathan Worthington
Dan Sugalski [EMAIL PROTECTED] wrote: Which was just a dopey oversight on my part when this got put in. I'm adding an exec opcode alongside the spawn opcode. Does what you'd expect an exec to do. I've updated config/gen/platform generic/exec.c with proper code, and win32/exec.c and