🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #39328

Pexec() and shel_write()

#39328
From: John Jung
Date: Fri, 09 Jun 1989 06:36
26 lines
1502 bytes
Okay, a technical question for all the die-hard C ST GEM programmers out
there.

  I'm having problems getting shel_write() and Pexec() to work together.
Specifically, I have the following situation:

	Program A terminates and launches Program B with shel_write()
	Program C activates Program A from within itself.

  Now, when I start up Program C, it runs Program A. No problem. Program A
does a shel_write() call to Program B, and exits. THE ST RETURNS TO PROGRAM
C. When Program C terminates, *then* Program B will run.

  How can I solve this problem? Specifically, how can I have Program B
execute after Program A, and *then* return control to Program C? Is there
a solution at all (I think NeoDesk had the same problem, but I don't know if
it's been "fiexd")? Or is there a way to throw out Pexec() and do what I want
without it?

  Please reply by e-mail or net postings. Thanks in advance.

						John

P.S. To whoever was asking about GDOS fonts in the public domain: They're
there, you just have to look around a bit.
Technical Details
Message-ID: <4048@merlin.usc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!elroy!ucla-cs!usc!merlin.usc.edu!castor.usc.edu!jjung

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!elroy!ucla-cs!usc!merlin.usc.edu!castor.usc.edu!jjung
From: jjung@castor.usc.edu (John Jung)
Newsgroups: comp.sys.atari.st
Subject: Pexec() and shel_write()
Message-ID: <4048@merlin.usc.edu>
Date: 9 Jun 89 06:36:36 GMT
Sender: news@merlin.usc.edu
Reply-To: jjung@castor.usc.edu (John Jung)
Organization: University of Southern California, Los Angeles, CA
Lines: 26