in reply to How to get the failure message of the svn checkout command using system(command) in perl

Try

my $response = qx{svn checkout $svnPath $targetPath 2>&1};
This will return both svn's streams (STDOUT and STDERR) to $response which can be examined afterwards - at least on Unixish systems.
Another option would be IPC::Open3 (separte access to STDOUT and STDERR) or one of the CPAN svn frontends, e.g. SVN::Agent, SVN::Friendly::Client (although I've never used one of these before).

  • Comment on Re: How to get the failure message of the svn checkout command using system(command) in perl
  • Download Code

Replies are listed 'Best First'.
Re^2: How to get the failure message of the svn checkout command using system(command) in perl
by priyaviswam (Sexton) on Aug 17, 2011 at 03:20 UTC

    Thanks for your suggestion. The First option is the one i was looking for. Thanks once again. But I'm still to go through the other option suggested by you