* Process.cs: Modified StartInfo to throw ArgumentNullException when
authorGert Driesen <drieseng@users.sourceforge.net>
Tue, 4 Dec 2007 16:37:36 +0000 (16:37 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Tue, 4 Dec 2007 16:37:36 +0000 (16:37 -0000)
commit3b0d04fd6c287b01dc4e7e9d0f3f1d9b4483d38e
treebca4aa482c378f95a24cfa822f99c3b30dc5d781
parent6b5a971af0f17747b8c6ab541687f5e3eaf21432
* Process.cs: Modified StartInfo to throw ArgumentNullException when
value is set to null, instead of ArgumentException. Remove check if
file name is rooted and exists when UseShellExecute is false, and let
runtime handle this. Fixes bug #345565. When a process cannot be started, do
not access ProcessStartInfo.EnvironmentVariables since that would not allow us
to re-use the instance when changing UseShellExecute. Added argument check in
Start (ProcessStartInfo). Code formatting.
* ProcessTest.cs: Added tests for Start overloads.

svn path=/trunk/mcs/; revision=90693
mcs/class/System/System.Diagnostics/ChangeLog
mcs/class/System/System.Diagnostics/Process.cs
mcs/class/System/Test/System.Diagnostics/ChangeLog
mcs/class/System/Test/System.Diagnostics/ProcessTest.cs