質問は別のスレッドで出てきました。私が尋ねると思った。
質問する
131 次
1 に答える
3
If it uses popen()
, that uses /bin/sh
on Linux. The man page for popen()
says:
The command argument is a pointer to a null-terminated string containing a shell command line. This command is passed to /bin/sh using the -c flag; interpretation, if any, is performed by the shell.
/bin/sh
is the only shell that POSIX guarantees will be available.
于 2013-05-30T01:01:24.223 に答える