Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 7:05
pprasanthk11-Aug-11 7:05 
GeneralRe: problem with process.waitforexit(timeout) PinPopular
Pete O'Hanlon11-Aug-11 7:20
mvePete O'Hanlon11-Aug-11 7:20 
GeneralRe: problem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 7:34
pprasanthk11-Aug-11 7:34 
GeneralRe: problem with process.waitforexit(timeout) Pin
thatraja11-Aug-11 7:43
professionalthatraja11-Aug-11 7:43 
GeneralRe: problem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 7:45
pprasanthk11-Aug-11 7:45 
AnswerRe: problem with process.waitforexit(timeout) Pin
jschell11-Aug-11 13:09
jschell11-Aug-11 13:09 
GeneralRe: problem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 17:57
pprasanthk11-Aug-11 17:57 
GeneralRe: problem with process.waitforexit(timeout) Pin
jschell12-Aug-11 7:54
jschell12-Aug-11 7:54 
I don't understand that response.

Rephrasing what I said before...

Given that you have a process X.
If you are waiting for it to complete your choices are to continue to wait or kill it.

A variation on that it to modify X such that you can send a command to it that causes it to terminate itself. That however isn't really a solution because after you do that you are still left with the solution above to either wait or kill it.

There are no other options.


This of course presumes that you understand that you could just continue to wait by looping on the has exited value.
Questionc# .net Pin
marimuthu01711-Aug-11 3:19
marimuthu01711-Aug-11 3:19 
AnswerRe: c# .net Pin
dan!sh 11-Aug-11 3:31
professional dan!sh 11-Aug-11 3:31 
AnswerRe: c# .net Pin
Member 815382311-Aug-11 3:42
Member 815382311-Aug-11 3:42 
AnswerRe: c# .net Pin
Eddy Vluggen11-Aug-11 6:21
professionalEddy Vluggen11-Aug-11 6:21 
QuestionPaging in CheckBoxList Pin
chinmaya00311-Aug-11 2:22
chinmaya00311-Aug-11 2:22 
AnswerRe: Paging in CheckBoxList Pin
Shameel11-Aug-11 2:43
professionalShameel11-Aug-11 2:43 
Questionhow to combine two dataset to one xml file Pin
goldsoft11-Aug-11 0:05
goldsoft11-Aug-11 0:05 
AnswerRe: how to combine two dataset to one xml file Pin
Wendelius11-Aug-11 10:41
mentorWendelius11-Aug-11 10:41 
QuestionNeed help with error checking for Dns.GetHostEntry Pin
turbosupramk310-Aug-11 8:59
turbosupramk310-Aug-11 8:59 
AnswerRe: Need help with error checking for Dns.GetHostEntry [modified] Pin
Shameel11-Aug-11 0:49
professionalShameel11-Aug-11 0:49 
GeneralRe: Need help with error checking for Dns.GetHostEntry Pin
turbosupramk311-Aug-11 3:27
turbosupramk311-Aug-11 3:27 
GeneralRe: Need help with error checking for Dns.GetHostEntry Pin
Shameel11-Aug-11 4:05
professionalShameel11-Aug-11 4:05 
GeneralRe: Need help with error checking for Dns.GetHostEntry Pin
turbosupramk311-Aug-11 4:52
turbosupramk311-Aug-11 4:52 
GeneralRe: Need help with error checking for Dns.GetHostEntry Pin
BobJanova11-Aug-11 5:39
BobJanova11-Aug-11 5:39 
GeneralRe: Need help with error checking for Dns.GetHostEntry Pin
Shameel11-Aug-11 5:48
professionalShameel11-Aug-11 5:48 
QuestionWhat is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
bbranded10-Aug-11 5:05
bbranded10-Aug-11 5:05 
AnswerRe: What is the best method to figure out elapsed time in a BackgroundWorker thread? Pin
Ian Shlasko10-Aug-11 5:15
Ian Shlasko10-Aug-11 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.