Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
AnswerRe: Issues in using Observable<T> to fire Property notification events (WinForms) Pin
BobJanova11-Aug-11 22:27
BobJanova11-Aug-11 22:27 
GeneralRe: Issues in using Observable&lt;T&gt; to fire Property notification events (WinForms) Pin
BillWoodruff11-Aug-11 23:23
professionalBillWoodruff11-Aug-11 23:23 
GeneralRe: Issues in using Observable<T> to fire Property notification events (WinForms) Pin
BobJanova11-Aug-11 23:57
BobJanova11-Aug-11 23:57 
GeneralRe: Issues in using Observable to fire Property notification events (WinForms) Pin
BillWoodruff12-Aug-11 12:27
professionalBillWoodruff12-Aug-11 12:27 
GeneralRe: Issues in using Observable<T> to fire Property notification events (WinForms) Pin
Pete O'Hanlon12-Aug-11 0:15
mvePete O'Hanlon12-Aug-11 0:15 
GeneralRe: Issues in using Observable to fire Property notification events (WinForms) Pin
BobJanova12-Aug-11 2:48
BobJanova12-Aug-11 2:48 
GeneralRe: Issues in using Observable to fire Property notification events (WinForms) Pin
BillWoodruff12-Aug-11 12:29
professionalBillWoodruff12-Aug-11 12:29 
Questionproblem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 3:37
pprasanthk11-Aug-11 3:37 
process = Process.Start(psi);
process.WaitForExit(executionTimeOutSecs * 1000); // convert seconds to milliseconds
if (!process.HasExited)
{
    StringBuilder text = new StringBuilder();
    text.AppendFormat("Having to kill {0}, executed longer than timeout value, {1} sec.", taskName,
                        executionTimeOutSecs);
    if (logging)
    {
        log.writeLogFile(text.ToString());
    }
    log.writeEventLogWarning(text.ToString());
    process.Kill();
    process.WaitForExit(1000);
}
process.Close();


Here i am getting "hasexited" false my process not exited in given time how to handle this.
AnswerRe: problem with process.waitforexit(timeout) Pin
Not Active11-Aug-11 4:27
mentorNot Active11-Aug-11 4:27 
GeneralRe: problem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 5:41
pprasanthk11-Aug-11 5:41 
GeneralRe: problem with process.waitforexit(timeout) Pin
Not Active11-Aug-11 5:58
mentorNot Active11-Aug-11 5:58 
GeneralRe: problem with process.waitforexit(timeout) Pin
pprasanthk11-Aug-11 7:02
pprasanthk11-Aug-11 7:02 
GeneralRe: problem with process.waitforexit(timeout) Pin
Not Active11-Aug-11 7:32
mentorNot Active11-Aug-11 7:32 
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 
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 

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.