Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!samsung!think!snorkelwacker!spdcc!mirror!atj From: atj@mirror.tmc.com (Alex Jenkins) Newsgroups: comp.os.os2 Subject: DosExecPgm question Message-ID: <38452@mirror.tmc.com> Date: 27 Mar 90 21:43:51 GMT Reply-To: atj@prism.TMC.COM (Alex Jenkins) Distribution: usa Organization: Mirror Systems, Cambridge Mass. Lines: 22 Hi! I am trying to do something very simple. I want to fork, have the child process exec another program. I am trying to use DosExecPgm (OS/2 1.1). I'm going by the book as far as I can tell, but it just doesn't behave. Would some kind reader give me a hint? The program I am exec'ing is a PM application. I've tried it from within my own PM application, and from a simple full-screen program (hello, world ... DosExecPgm ... print results). In that latter case, the call returns 0, and the resultcode structure contains 0 values, but never a sign of the exec'ed program. (I am using EXEC_SYNC). Thanks! P.S. I've had miserable results with DosStartSession too, so maybe it's just me :-) :-) :-) -- Alex T. Jenkins Mirror Systems, Cambridge Massachusetts atj@mirror.TMC.COM - - - - - - - - - - - - - - - - - - - "There's a prayer each night that I always pray: Let the data guide me through every day And every pulse and every code -- Deliver me from the bypass mode" - W.Z.