How can I execute another .exe file from current application, then end the current application.
I've tried this:
proc = TProcess.Create("warning2.exe", 0)
end
But the "end" command seems to close the warning2.exe as well as the current application, I only want to end the current application and have warning2.exe run.
I've tried this:
proc = TProcess.Create("warning2.exe", 0)
end
But the "end" command seems to close the warning2.exe as well as the current application, I only want to end the current application and have warning2.exe run.