Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PPipeChannel::Open ( const PString subProgram,
OpenMode  mode = ReadWrite,
BOOL  searchPath = TRUE,
BOOL  stderrSeparate = FALSE 
)

Open a channel.

Parameters:
subProgramSub program name or command line.
modeMode for the pipe channel.
searchPathFlag for system PATH to be searched.
stderrSeparateStandard error is on separate pipe

Definition at line 142 of file pipechan.cxx.

{
  PString progName;
  PStringArray arguments;
  if (!SplitArgs(subProgram, progName, arguments))
    return FALSE;
  return PlatformOpen(progName, arguments, mode, searchPath, stderrSeparate, NULL);
}

Generated by  Doxygen 1.6.0   Back to index