i have a a problem handling process in C#.net 2005.
My code is
process1.start("shutdown -s -t 00");
what can be done ?
i have a a problem handling process in C#.net 2005.
My code is
process1.start("shutdown -s -t 00");
what can be done ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dipal ChoksiRank #199 · 12K reputationPosted May 11, 2008, 5:44 PM EDT
AlanRank #669 · 3.6K reputationPosted May 12, 2008, 1:06 AM EDT
Even without seeing the error message, I think the problem is that the command line arguments to "shutdown" need to be passed as a separate parameter to the Start method:
process1.Start("shutdown", "-s -t 00");