develooper Front page | perl.perl5.porters | Postings from December 2008

[PATCH] Update IPC::Cmd to 0.42

Thread Next
From:
Jos I. Boumans
Date:
December 13, 2008 09:37
Subject:
[PATCH] Update IPC::Cmd to 0.42
Message ID:
87613C84-ED4A-4785-BEC8-62D291FC3C24@dwim.org
Greetings,

attached is the patch to update IPC::Cmd to 0.42. This release
has many fixes and a few features since the last release. Most
notably portability to Win32 and VMS should be improved.

Although its CPAN track record is outstanding (278 PASS, 1 FAIL),
I'd appreciate an extra eye out from the smokers for this patch.

Here's the full changelog:

Changes for 0.42    Fri Oct 10 11:42:28 CEST 2008
=================================================
* Promote 0.41_07 to stable as it passes tests on all
   CPAN Testers platforms now.

Changes for 0.41_07 Sun Oct  5 18:18:15 CEST 2008
=================================================
* This release addresses issues for Win32 commands using quoted
   strings containing whitespace. Non Win32 users need not upgrade.
* Copy in Module::Build::Platform::Windows->split_like_shell, as
   Text::ParseWords::shelwords() uses UNIX semantics, which breaks on
   Win32. Now IPC:Cmd uses ->split_like_shell on Win32, and shellwords()
   on a UNIX like platform.
* Export QUOTE and add docs for it to allow users to pick a platform
   agnostic quote character.
* Utility functions to check for ipc::run and ipc::open3 presence
   now return their respective version
* Use '"' (double quote) as quote character in all the whitespace tests
   -- they only contain constants
* Improved diagnostics in test suite, so it's easier to see what
   configuration failed from a single line of test output
* Disable gzip test in production releases

Changes for 0.41_06 Wed Sep 24 17:03:14 CEST 2008
=================================================
* Add missing source file for tests. Users of 0.41_05
   need not upgrade.

Changes for 0.41_05 Mon Sep 22 14:22:45 CEST 2008
=================================================
* Address whitespace issues in commands: if the full command
   contains special chars (ie, <,>,|,&) it needs to be stringified
   for system() and ipc::open3 or the special chars are escaped
   as arguments to the command. So, if you pass an arrayref as
   command, we'll stringify it.
   Of course that conflicts with arguments containing whitespace,
   so if we need to stringify we'll also attempt to fixup any
   arguments that have whitespace with the OS specific quote.
* Added tests for pipes, whitespace and pipes + whitespace to make
   sure our fix works
* Documentation on whitespace updated accordingly.

Changes for 0.41_04 Mon Jul 14 15:54:57 CEST 2008
=================================================
* Forgot to add new test file. Users of 0.41_03
   need not to upgrade.

Changes for 0.41_03 Sun Jul 13 14:59:44 CEST 2008
=================================================
* Address #36365: IPC::Cmd error reporting by adding extra
   diagnostics on failure and pretty printing of errors
* Fix the issue that caused many testers failures:
   When _ipc_open3_run is interrupted by an alarm, the FDs were
   not being restored, causing subsequent processes to not have
   access to STDIN.
* Add more diagnostics to 01.t
* Add tests for interleaving stdout/stderr, which are now TODO
   Record this as #37532: Unable to interleave STDOUT and STDERR
   Mention this in the Caveats sections of the docs

Changes for 0.41_02 Sun Jun 29 17:38:47 CEST 2008
=================================================
* Implement timeouts for commands (#36437)

Changes for 0.41_01 Sun Apr  6 14:10:17 CEST 2008
=================================================
* Strip empty whitespace from array ref commands -- some
   commands can't deal with an empty argument after (like
   make) and will exit with an error because of it
* Address 29532, 29723 and 32187 which all have issues
   with using arguments containing whitespace. IPC::Cmd
   can now deal with arguments with whitespace properly
   using IPC::Run, Open3 and system.
   Tests are added for this.
* Apply patch from John M. ipc::open3 does not work on
   OpenVMS because it claims that it needs fork().
* Merge the 2 test routines for stdout/stderr tests by
   making the buffer to inspect a variable

Cheers,

--

	Jos Boumans

	How do I prove I am not crazy to people who are?



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About