https://bugzilla.novell.com/show_bug.cgi?id=431022

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=431022#c4


Thomas Pitschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |[email protected]
      Info Provider|[email protected]     |




--- Comment #4 from Thomas Pitschel <[email protected]>  2009-02-19 15:17:45 MST 
---
What seems to matter is whether the executed program actually reads the input.

Try for example

ProcessStartInfo psi = new ProcessStartInfo("cat", ""); // will produce "Hello"

vs

ProcessStartInfo psi = new ProcessStartInfo("cat", "xx"); // will yield the
error

The equivalent behaviour can be observed at a linux command prompt:

$ echo "klh" | cat
klh
$ echo "klh" | cat my_existing_file_containing_xx.txt
xx
bash: echo: write error: Broken pipe

The question is just what would be optimal behaviour. For consistency one will
guess that the current behaviour is good.

Side note: Adding Thread.Sleep(5000) after Start() still produced the error (on
a Debian lenny 2008-12).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to