Link to home
Start Free TrialLog in
Avatar of tomasCZ1
tomasCZ1

asked on

How to launch and taskill (without /F) a cmd.exe in Windows service?

Hi,
I have 2 questions:
1) Is it possible to launch an interactive GUI application from a Windows service so that     the app runs as a normal app (not service)?

2) When I launch cmd.exe from a Windows service application, the cmd.exe becomes a service. Can I safely terminate it (taskkill without /F option)? Or is there another way how to terminate it?

Thanks
John
Avatar of x-men
x-men
Flag of Portugal image

1) no
2) yes
Avatar of tomasCZ1
tomasCZ1

ASKER

Can you please tell me how to terminate cmd.exe service launched from a Windows service? Your help is greatly appreciated.

thanks in advance.
john
ASKER CERTIFIED SOLUTION
Avatar of x-men
x-men
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial