You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns an implementation-defined value (usually the value that the invoked program returns).
15
+
16
+
If command is a null pointer, checks if the host environment has a command processor and returns a nonzero value if and only if the command processor exists.
17
+
18
+
Parameters
19
+
command - character string identifying the command to be run in the command processor. If a null pointer is given, command processor is checked for existence
20
+
Return value
21
+
Implementation-defined value. If command is a null pointer, returns a nonzero value if and only if the command processor exists.
22
+
23
+
Notes
24
+
On POSIX systems, the return value can be decomposed using WEXITSTATUS and WSTOPSIG.
25
+
26
+
The related POSIX function popen makes the output generated by command available to the caller.
27
+
28
+
An explicit flush of std::cout is also necessary before a call to std::system, if the spawned process performs any screen I/O.
0 commit comments