Article View: comp.os.msdos.programmer
Article #6414Re: Normal MSDOS multitasking!
From: Einar Indridason
Date: Mon, 14 Dec 1992 13:20
Date: Mon, 14 Dec 1992 13:20
23 lines
1287 bytes
1287 bytes
In <1ghb1vINNccb@ub.d.umn.edu> cbusch@ub.d.umn.edu (Chris) writes: > Apparantly MSDOS multitasks with the use of the pipe "|". Is this >true? How does the | really work? For example: "type this.txt | more" >has 'type' and 'more' being ran simultaneously (apparantly). How is >this so? No, that is not a multitasking. MeSsy-DOgS handles the pipe line with something like this: Run first program to completion, with standard output redirected to a temporary file. Wait until first program has finished. Run second program to completion, with standard input redirected to come from the previous temporary file, and if there is more in the pipeline, redirect the standard output to another temporary file. Wait until second program has finished. Do the following programs in the pipeline, in the same way: Run one program at a time to completion, _then_ start the next one. -- einari@rhi.hi.is
Technical Details
Message-ID:
<5831@krafla.rhi.hi.is>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!isgate!krafla!einariReferences:
<1ghb1vINNccb@ub.d.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!isgate!krafla!einari From: einari@rhi.hi.is (Einar Indridason) Newsgroups: comp.os.msdos.programmer Subject: Re: Normal MSDOS multitasking! Message-ID: <5831@krafla.rhi.hi.is> Date: 14 Dec 92 13:20:37 GMT References: <1ghb1vINNccb@ub.d.umn.edu> Sender: usenet@rhi.hi.is Lines: 23 Nntp-Posting-Host: hengill.rhi.hi.is