Hi,
This small program is working well launched under
cygwin, but does nothing as it's launched under
windows command line. Why ?
#include
# use (if the process 1019 is in progress) : killer
1019
int main(int argc, char **argv)
{
char temp[200];
sprintf(temp, "kill -9 %s", argv[1]);
I try to kill a process under cygwin. The main process
need to kill one its child process. The child process
is playing a music using :
system("cat phrase3.wav > /dev/dsp ");
The main process code is (pidChild is correst) :
kill(SIGKILL, pidChild);
I tried with SIGUSR2 (with a function as
I try to kill a process under cygwin. The main process
need to kill one its child process. The child process
is playing a music using :
system("cat phrase3.wav > /dev/dsp ");
The main process code is (pidChild is correst) :
kill(SIGKILL, pidChild);
I tried with SIGUSR2 (with a function as
3 matches
Mail list logo