00001 #ifndef _GPROCESS_H_
00002 #define _GPROCESS_H_
00003
00004 #include "GStream.h"
00005
00006 LgiFunc bool LgiIsProcess(OsProcessId Pid);
00007
00008 class LgiClass GProcess
00009 {
00010 class GProcessPrivate *d;
00011
00012 public:
00013 GProcess();
00014 ~GProcess();
00015
00016 OsProcess Handle();
00017 int ExitValue();
00018 bool Terminate();
00019 bool Run(char *Exe, char *Args, char *Dir, bool Wait, GStream *In = 0, GStream *Out = 0);
00020 bool IsRunning();
00021 };
00022
00023 #endif