Creates three anonymous pipes for bidirectional IPC (stdin
,
stdout
, stderr
).
The function returns the following error codes:
E_EXIST
if one or more pipe is already conncted.E_SYSTEM
if opening pipes failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pipe_type), | intent(out) | :: | stdin |
Standard input handle. |
||
type(pipe_type), | intent(out) | :: | stdout |
Standard output handle. |
||
type(pipe_type), | intent(out) | :: | stderr |
Standard error handle. |
||
character(len=*), | intent(in) | :: | command |
Program to invoke. |