On Tue, Mar 08, 2005 at 07:59:04PM +, Fergal Daly wrote:
> > Darcs runs on non-Unix. 2>&1 is not cross-platform.
>
> I ported something form linux to win not so long ago and it worked. Googling
> for
>
> "2>&1" windows
>
> turns a few batch files that use it and also
>
> http://mailman.lyr
On Tue, Mar 08, 2005 at 10:14:01AM -0800, Michael G Schwern wrote:
> On Tue, Mar 08, 2005 at 05:48:28PM +, Fergal Daly wrote:
> > In the case of though darcs though, is Perl just testing the output of
> > commands that have been systemed? If so they could just add 2>&1 to the
> > command line a
On Tue, Mar 08, 2005 at 05:48:28PM +, Fergal Daly wrote:
>
> In the case of though darcs though, is Perl just testing the output of
> commands that have been systemed? If so they could just add 2>&1 to the
> command line and then ignore stderr,
I thought that wouldn't be portable.
Mark
On 2005-03-08, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 08, 2005 at 05:27:34PM +, Fergal Daly wrote:
>> On Tue, Mar 08, 2005 at 04:56:08PM +, Mark Stosberg wrote:
>> > Hmm...maybe Test::Output just needs a new feature:
>> >
>> > # Because sometimes you don't care who sai
On Tue, Mar 08, 2005 at 05:48:28PM +, Fergal Daly wrote:
> In the case of though darcs though, is Perl just testing the output of
> commands that have been systemed? If so they could just add 2>&1 to the
> command line and then ignore stderr,
Darcs runs on non-Unix. 2>&1 is not cross-platform
On Tue, Mar 08, 2005 at 09:34:17AM -0800, Michael G Schwern wrote:
> There's no equivalent to this?
>
> my $output = `some_program 2>&1`;
>
> Where STDOUT and STDERR are combined into one stream, keeping the order
> correct.
If there is it's not in the docs. They show things like
output_l
On Tue, Mar 08, 2005 at 05:27:34PM +, Fergal Daly wrote:
> On Tue, Mar 08, 2005 at 04:56:08PM +, Mark Stosberg wrote:
> > Hmm...maybe Test::Output just needs a new feature:
> >
> > # Because sometimes you don't care who said it.
> > stdout_or_stderr_is()
>
> Test::Output allows
>
> my
On Tue, Mar 08, 2005 at 04:56:08PM +, Mark Stosberg wrote:
> Hmm...maybe Test::Output just needs a new feature:
>
> # Because sometimes you don't care who said it.
> stdout_or_stderr_is()
Test::Output allows
my ($stdout, $stderr) = output_from {...};
then you can do your own tests, other