View Full Version : Processes arguments (All)
eresunb
10-25-2003, 01:18 AM
Hi,
I need to restart processes which are already running.
I think the only way to do this is stopping them and executing them again with the same arguments they where launched first.
So I need to know if windows registers anywhere the arguments used to execute processes.
żIs there any other way to restart a process?
Thank you
monkey_1
10-25-2003, 06:47 PM
Command prompt-->net stop service name
net start service name
...
<font color=orange>Mono</font color=orange>
eresunb
10-26-2003, 08:40 AM
Hi
Thank you for your answer, but I need to restart normal processes, not services.
motoflop
10-26-2003, 12:46 PM
Windows stores command arguments somewhere in memory. Process Explorer from www.sysinternals.com can show them.
monkey_1
10-26-2003, 04:19 PM
Ok, but you could create your "process" as a service...
<font color=orange>Mono</font color=orange>
eresunb
10-27-2003, 04:27 PM
OK,
But that is not what I need either, because I want to restart any process, not just my process. In fact my program shows a list of running processes and the user may request restarting any of them, probably some launched before my program.
I know it is possible in Windows XP through WMI but I cannot design it only for this OS.
Maybe it is not possible...
Thank you anyway for your ideas.
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.