[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] print debug information when subprocess.Popen subprocess.Popen

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Sun, 28 Jul 2013 20:00:27 +0900

Hi.

I attach a patch to print debug information when subprocess.Popen
raises an exception.

If an executable which subprocess.Popen tries to lauch doesn't exist,
"Not file found" error ocurrs.

But subprocess.Popen doesn't print information which file is not found.
So it is difficult to know what is wrong. This patch helps to debug such
error.

[[[
Print debug information when subprocess.Popen raises an exception

* subversion/tests/cmdline/svntest/main.py
  (open_pipe): catch an exception which subprocess.Popen raises, and
                      print debug information, and reraise the exception.
]]]

Regards

-- 
Masaru Tsuchiyama <m.tmatma_at_gmail.com>

Received on 2013-07-28 13:01:00 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.