Forum > Networking and Web Programming

[SOLVED] How can I run Windows command before compile?

<< < (2/2)

egsuh:
sc.exe is a Windows command, which can start, stop, install, or remove Windows services.
The capital W with cancellation line is backslash in Korean. It does not have any problem in paths.

I solved the issue by creating batch files. 

In the stopfcgi1.bat,

         d:\setups\nssm-2.24\win64\nssm.exe stop fcgi1

and in startfcgi1.bat,

         d:\setups\nssm-2.24\win64\nssm.exe start fcgi1


It is not important whether to use nssm or sc. I had to set my acount up not to ask whether I'll allow nssm.exe change device (in Windows).

Now I can compile FCGI server files without any hassle.

Navigation

[0] Message Index

[*] Previous page

Go to full version