www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11634] New: std.process executeShell() Exception message is incomplete

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11634

           Summary: std.process executeShell() Exception message is
                    incomplete
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: alanb ucora.com


--- Comment #0 from Rob T <alanb ucora.com> 2013-11-28 11:16:25 PST ---
If the process being launched does not exist, the reported message in the
Exception does not state what process is missing. All you get is this:

"Process does not exist or is not a child process."

A lot more information concerning the process should be available for reporting
that will help identify what went wrong.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 28 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11634


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-12
02:08:06 EET ---
Please specify the platform (operating system) on which you are encountering
this issue. The underlying implementations on Windows and POSIX are very
different.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 11 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11634



--- Comment #2 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-12
02:09:34 EET ---
Judging by the error message and the source code, this problem manifested on a
POSIX OS.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 11 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11634



--- Comment #3 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-12
02:50:19 EET ---
I can't reproduce this problem on Linux with DMD 2.064. Please specify the
platform and post some example code.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 11 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11634



--- Comment #4 from Rob T <alanb ucora.com> 2014-02-11 17:03:22 PST ---
The platform is POSIX, Debian Squeeze and DMD 2.064.

It appears to happen only with a certain process. I tried reducing the program
for reproduction but when I did that the problem went away. Maybe there's a
problem with my code, or with the way the process is being run. I'll take
another look at it and see what else I can do to isolate it.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 11 2014