Attached is the patch to enhance debugging pgAdmin subprocesses. When logging set to DEBUG, the output and error from popen used to spawn the process will be logged.
Currently, if the process terminates abnormally then the error is not logged which makes it very difficult to find the reason of failure.
Kindly review.
--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune