G
Guest
I am using the following fragment of code in the main of a console
application :
.....
Process p = new Process();
p.StartInfo.FileName = "C:\\Programmi\\OpenOffice.org
2.\\program\\soffice.exe";
p.StartInfo.Arguments = "C:\\H\\TMP\\sql-20070410.log";
p.Start();
/*
*/
p.WaitForExit();
......
case 1:
In a traditional PC using the command WaitForexit the Process p wait the
soffice.exe to be closed before continue.
case 2:
With the same fragment of code, runned on a pc with hyperthreading enabled
the waitforexit function doesn't wait for soffice to be closed before
continue.
I would want that the software had on the PC of case 2 the same behavior of
that one executed in the PC of case 1.
Thanks.
application :
.....
Process p = new Process();
p.StartInfo.FileName = "C:\\Programmi\\OpenOffice.org
2.\\program\\soffice.exe";
p.StartInfo.Arguments = "C:\\H\\TMP\\sql-20070410.log";
p.Start();
/*
*/
p.WaitForExit();
......
case 1:
In a traditional PC using the command WaitForexit the Process p wait the
soffice.exe to be closed before continue.
case 2:
With the same fragment of code, runned on a pc with hyperthreading enabled
the waitforexit function doesn't wait for soffice to be closed before
continue.
I would want that the software had on the PC of case 2 the same behavior of
that one executed in the PC of case 1.
Thanks.