Skip Menu |

This queue is for tickets about the IPC-Run3 CPAN distribution.

Report information
The Basics
Id: 57394
Status: resolved
Priority: 0/
Queue: IPC-Run3

People
Owner: RSCHUPP [...] cpan.org
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: docs of using system()
Date: Wed, 12 May 2010 08:34:11 +1000
To: bug-IPC-Run3 [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
The docs of IPC::Run3 could make it clear somewhere at the start of the description that it's the system() function which is used to run the program. system differs subtly from qx or fork+exec in respect of SIGINT ignoring. There's no doubt a place for both, but run3 could make it clear which it does.
Hi Kevin, Show quoted text
> The docs of IPC::Run3 could make it clear somewhere > at the start of the description that it's the system() > function which is used to run the program.
I'm open to suggestions :) Cheers, Roderich
Subject: Re: [rt.cpan.org #57394] docs of using system()
Date: Tue, 18 May 2010 10:15:01 +1000
To: bug-IPC-Run3 [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"RSCHUPP via RT" <bug-IPC-Run3@rt.cpan.org> writes: Show quoted text
> > I'm open to suggestions :)
Maybe something like C<run3> uses the C<system> function to run a subprocess or shell command, with stdin, stdout, and/or stderr conveniently redirected to or from files, Perl data structures, or subroutines. It aims to satisfy 99% of the need for "system", "qx", and "open3" with a simple, extremely Perlish API. The way SIGINT is ignored in system(), and thus run3(), over qx probably should be noted or cross referenced somewhere early on, but I'm not sure how to word that without labouring it. Of course having sigint only kill the child might be a feature anyway -- you can look at its exit code to see how it died. Most of the time though I tend to think I want the parent and child both to die under a ^C ...
On Mon May 17 20:16:15 2010, user42@zip.com.au wrote: Show quoted text
> Maybe something like
Applied :) and added some wording about "same restrictions as system()". Cheers, Roderich
Probably this should've been closed when applied. Closing now. -- rjbs