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.tma...@gmail.com>

Attachment: main.patch
Description: Binary data

Reply via email to