child-process
Check for exited child processes in POSIX?
I\'m trying to write a program that checks for exited child processes and restarts them if they have exited. It needs to restart the processes as they exit, without waiting for any other processes to[详细]
2023-03-04 06:03 分类:问答Unable to trap SIGINT signal in a background shell
I am unable to trap a signal when running in a child / background process. Here is my simple bash script:[详细]
2023-02-24 10:31 分类:问答Redirecting a child process' stdout and stderr to two named pipes (then reading back from them)
I\'m working on an application that popen()s another process, whose output - both stderr and stderr - needs to be redirected to two named pipes, also created by the application. Then I need to read da[详细]
2023-02-19 10:31 分类:问答Using SSH over Node.js
I\'m trying to run a ssh child process in node.js and control it through my program. My code: var util= require(\'util\');[详细]
2023-02-17 01:38 分类:问答Keeping track children from old runs of a script
I have a Perl script that spawns some children. They all take quite a while to run, creating directories and files along the way. I often notice things I\'d like to change before the children die of n[详细]
2023-02-16 05:31 分类:问答PyUnit with child processes
In some Python code, I fork and do some processing in a child process while the parent waits for it to exit. It doesn\'t exec after the fork.[详细]
2023-02-08 09:17 分类:问答Processing messages from a child process thorough stderr and stdout with Python
My python code spawns the child process, and it prints out messages both stdout and stderr. I need to print them differently.[详细]
2023-02-07 01:08 分类:问答Java, wait for child process to exit
Using Java\'s ProcessBuilder I am creating a group of child processe开发者_如何学编程s. I can use the waitFor() method from the resulting Process object to wait for that particular child to exit.[详细]
2023-02-03 04:13 分类:问答Another benefit of having Lighttpd in front of Apache
I have read in a site that another benefit of having Lighttpd in front of Apache is lower number of child processes. Lighttpd will handle keep-alive and client requests while child processes of Apache[详细]
2023-01-11 11:23 分类:问答Creating a child process on Unix systems?
I\'m trying to create a child process in another process. I am writing both the programs in C language. First I write a dummy process which will be the child process. What it is doing is only to write[详细]
2022-12-24 03:58 分类:问答
加载中,请稍侯......