This feature is implemented using the popen system call, which allows one process to open a pipe to another process, either for output or input. In this case we open a pipe to the command.
这一特性是用popen系统调用实现的,该系统调用允许一个进程打开到另一个进程的管道,将管道用于输出或输入。
This is done with the system call popen(), which can open to a pipe to another process, either for reading or writing.
这是用系统调用 popen() 完成的,它打开到另一个进程的管道以用于读或写。
应用推荐