I need to exec a process. I have been using:
but of course that just forks another form. I want the child to stay alive after the parent has been killed.Code:Form fMain = new frmMain(); fMain.Show();
Is there a way to do this without shelling itself? I mean, I suppose I could:
How to you reference the app path? Like VB's app.path & "\" & app.exename?Code:System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName="path to self"; proc.Start();
Are there actual fork and exec type commands in c#?




Reply With Quote