DSTEVENS@VAXC.STEVENS-TECH.EDU (David L. Stevens) (09/02/87)
Hi, We're writing a program here that will create a subprocess at program startup time, and at various points in program execution we will pass a command to the subprocess, which it will execute (subprocess is at DCL level). The subprocess however will not terminate at the end of the command, it will just go back to waiting for another command to execute. Sounds all well and good so far, now for the problem, how do you get the status return from that command that it just executed ???????? I talked to DEC support and they could only come up with the same idea that we already had, ie; issue another command to the subprocess that would show the value of the symbol $STATUS. We then read back the output, and parse the responce to get the Hex status (ughhhhh !!!). Has anybody else done anything like this, and would be willing to share how they did it. Thanks to any and all help Dave Stevens Stevens Institute of Technology [ No I'm not related to the founders of the college...I just work here ] CCnet: SITVXC::DSTEVENS BITnet: DSTEVENS@SITVXA INTERnet: DSTEVENS@VAXC.STEVENS-TECH.EDU ------------