Differences
This shows you the differences between the selected revisions of the page.
2011-03-25 | 2011-03-25 | ||
guide_dotnet#exit (martin) | guide_dotnet#output (martin) | ||
Line 93: | Line 93: | ||
Use ''[[http://msdn.microsoft.com/en-us/library/system.diagnostics.process.waitforexit.aspx|Process.WaitForExit]]'' to wait for WinSCP process to finish. | Use ''[[http://msdn.microsoft.com/en-us/library/system.diagnostics.process.waitforexit.aspx|Process.WaitForExit]]'' to wait for WinSCP process to finish. | ||
- | If you have output stream redirected, you need to first read it to the end. See [[guide_dotnet#output|above]]. | + | If you have output stream redirected, you need to first [[guide_dotnet#output|read the output stream to the end]]. |
A good practice is to close input stream too, if you have it redirected. | A good practice is to close input stream too, if you have it redirected. |