[Mono-dev] Debugging Win32Exception on Process.Start
APS
dev.malst at apsystems.it
Wed May 20 03:22:03 EDT 2009
You was right.
I tested quotation marks in command line and it worked, so I excluded
a format error. Thank you.
At 17.10 19/05/2009, Alex Shulgin wrote:
>APS wrote:
>>Hi,
>>launching a java process with Process.Start I obtain an error like this:
>>System.ComponentModel.Win32Exception:
>>ApplicationName='"/usr/bin/java"', CommandLine='-Xms20M -Xmx100M
>>-Xincgc -jar "/home/monousr/myjar.jar" param1 param2 param3 param4
>>"/home/monousr/"', CurrentDirectory=''
>> at System.Diagnostics.Process.Start_noshell
>> (System.Diagnostics.ProcessStartInfo startInfo,
>> System.Diagnostics.Process process) [0x00247]
>> at System.Diagnostics.Process.Start_common
>> (System.Diagnostics.ProcessStartInfo startInfo,
>> System.Diagnostics.Process process) [0x00096]
>> at System.Diagnostics.Process.Start () [0x0002c]
>>Launching manually the same application with same params works. I
>>would like to understand how to solve the problem, how can I see
>>the output of the process or some log that explain better what is
>>the problem? or you already know what the problem could be?
>
>May be it's extra quotation marks around /usr/bin/java?..
>
>--
>Alex
More information about the Mono-devel-list
mailing list