home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!csghsg5a.bitnet!92636828s
- From: 92636828s@csghsg5a.bitnet
- Newsgroups: comp.os.vms
- Subject: local printing out of detached process
- Message-ID: <1993Jan11.111735.357@csghsg5a.bitnet>
- Date: 11 Jan 93 11:17:35 GMT
- References: <1993Jan5.103014.347@csghsg5a.bitnet> <1993Jan5.131302.21764@ncsa.uiuc.edu> <C0EGqE.HLL@micrognosis.co.uk>
- Organization: University of St.Gallen, Switzerland
- Lines: 61
-
- In article <C0EGqE.HLL@micrognosis.co.uk>, nreadwin@micrognosis.co.uk (Neil Readwin) writes:
- > In article <1993Jan5.131302.21764@ncsa.uiuc.edu>, jsue@ncsa.uiuc.edu (Jeffrey L. Sue) writes:
- > |> In article <1993Jan5.103014.347@csghsg5a.bitnet> 92636828s@csghsg5a.bitnet writes:
- > |> >I'm trying to create a detached subprocess or process, which has to be
- > |> >attached to the terminal, because I want to run it a batch-file with
- > |> >the following content: $mc prt type *.txt
- > |> >Spawn/nowait anything.com doesn't help for although the subprocess runs
- > |> >asynchronous the "motherprocess" is stopped till completion of the subprocess.
- > |> >Is there a possibility to do it via run/detach ?
- > |> >Any kind of help will be appreciated.
- > |>
- > |> Try $ HELP SPAWN
- > |> see /WAIT
- >
- > Given that David-Michael has said that 'Spawn/nowait anything.com doesn't
- > help' this probably will not help much.
- >
- > On the other hand, he also says 'although the subprocess runs asynchronous
- > the "motherprocess" is stopped till completion of the subprocess'. This is
- > not true, but if he means that the child process is killed if the parent
- > process is stopped then this is correct. The real question is what is the
- > command
- > $mc prt type *.txt
- > supposed to do and why won't
- > $print *.txt
- > (with some set of qualifiers) do the job? Since 'mc prt' will not work here
- > I assume that it is either a local hack or (conceivably) a layered product.
- >
- > More information from the original poster is what we need. Neil.
- > --
- > Phone: +44 71 815 5283 E-mail: nreadwin@micrognosis.co.uk
- > Anything is a cause for sorrow that my mind or body has made
-
- It seems that my original posting wasn't clear enough:
-
- PRT is an image which allows you to print on the local printer,
- which is assigned to your terminal.
-
- PRINT doesn't solve the problem because it seems that the local
- printers are not accessible this way.
-
- If you put the sequence "mc prt type *.txt" into a batchfile
- (abc.com) and make a submit abc.com, it doesn't work either;
- probably because the execution of the batchfile isn't to the
- terminal the local printer is assigned to.
-
- Spawn/nowait mc prt type *.txt also doesn't help for though
- I get back to the $-prompt I can't work on: no typing is
- recognized. So it seems to me that the parent process is
- halted till completion of the subprocess.
-
- Is there a solution to this problem?
- --
- \_\_ \_\_ ** The world's biggest Rush fan **
- \_\_ \_\_
- \_\_ \_\_ David-Michael Lincke
- \_\_ \_\_ Hochschule St. Gallen HSG
- \_\_ \_\_
- \_\_\_\_\_\_\_\_\_ \_\_ email: 92636828@csghsg5a.bitnet
- 92636828@alpha.unisg.ch
-
-