home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!unruh
- From: unruh@physics.ubc.ca (William Unruh)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Detach command.
- Date: 7 Jan 1993 20:29:28 GMT
- Organization: The University of British Columbia
- Lines: 24
- Distribution: world
- Message-ID: <1ii3r8INNfea@iskut.ucs.ubc.ca>
- References: <1ih9vnINNbrf@transfer.stratus.com> <21062@ucdavis.ucdavis.edu> <19930107.115224.653@almaden.ibm.com>
- NNTP-Posting-Host: physics.ubc.ca
-
- KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) writes:
-
- >In <21062@ucdavis.ucdavis.edu> James E. Lee writes:
- >>Also, does anyone know of a way to put something in the background
- >>and foreground on the fly without using PM windows (like fg & bg in
- >>UNIX)?
- >>
-
- >I'm not sure what you mean by "on the fly" but you can use the START command
- >to kick off a background process via the /B option. You can create an object
- >that starts a command processor, File Name of '*', and specify parameters like
- >"/C START /B prog.exe" to start the background session without calling up a
- >new window.
-
- He means, if you already have a program running , can you detach it from
- the window, and later reattach it. In Unix if you have a program running
- in you window from the command line, you can detach it fromn the winsow
- by halting it ( with ctrl-Z) and then issuing a bg command to restart it
- in the background. fg will take a backgrond task and reattach it to the
- window. Obviously if the task does console IO you can't detach it and
- have it keep running- In Unix it halts waiting for you to reattach it.
- .
-
-
-