Ignore:
Timestamp:
2010-05-27T11:32:46+12:00 (14 years ago)
Author:
davidb
Message:

Further expansion of functionality (and testing) or os_process classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/os_process.h

    r22177 r22183  
    4242 
    4343 public:
    44   osprocess(char* cmdline, OSProcessPipeMode mode);
     44  osprocess(OSProcessPipeMode mode,
     45        char* prog_name, char* argv[]=NULL, char* envp[]=NULL);
     46
    4547  virtual ~osprocess();
    4648 
     
    5355  virtual int write(char* buffer, const int buffer_len)=0;
    5456  virtual int read(char* buffer, const int buffer_len)=0;
    55  
     57
     58  virtual void wait()=0;
     59
    5660  virtual bool close_write_pipe(OSProcessWarnStatus warn_status=withWarning)=0;
    5761  virtual bool close_read_pipe(OSProcessWarnStatus warn_status=withWarning)=0;
     
    6165 protected:
    6266  OSProcessPipeMode mode_;
    63 
    6467};
    6568
Note: See TracChangeset for help on using the changeset viewer.