C
cyshao
Why Windows doesn't allow to launch daemon/service in command line ??
Unix/Linux can simply do that....
Unix/Linux can simply do that....
cyshao said:Why Windows doesn't allow to launch daemon/service in command line ??
cyshao said:Why Windows doesn't allow to launch daemon/service in command line ??
Unix/Linux can simply do that....
Ignacio Machin ( .NET/ C# MVP ) said:humm,
there is a huge difference, in unix IIRC all you have to do to make a
"daemon" is detach the process from the console, in windows it's a litte
different though.
If you want to keep a program resident ( it will run as long as the user is
loged ) just create a thread and terminate the original thread, the program
should continuing runnig and you will get the prompt back
note that I haven;t tested the above but it should work as expected.
cheers,