English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

both exec() and fork() will cause the parent process to exit after running the child process. what to do?

2006-12-19 09:53:51 · 1 answers · asked by peanuts 1 in Computers & Internet Programming & Design

1 answers

Several ways, depending on what you need to do.

Try the system() command as in

system ("mycommand >/dev/null");

2006-12-19 10:29:32 · answer #1 · answered by BigRez 6 · 0 0

fedest.com, questions and answers