Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!iowasp.physics.uiowa.edu!ceres.physics.uiowa.edu!news.iastate.edu!IASTATE.EDU!spam From: spam@IASTATE.EDU (Begley Michael L) Newsgroups: comp.unix.wizards Subject: Message-ID: <1991Jan15.204849@IASTATE.EDU> Date: 16 Jan 91 02:48:49 GMT Sender: news@news.iastate.edu (USENET News System) Reply-To: spam@IASTATE.EDU (Begley Michael L) Organization: Iowa State University Lines: 26 Here's a question that a few people have answered "That's impossible". It probably is, but it seems that *philosophically* it should be possible... What I'd like to do is execute a stream. The specific application I have in mind is to compress all my executables, then execute them from a simple shell script. Something like: uncompress -c microemacs|execute /* uncompress microemacs.Z */ /* into a stream, and execute */ would automagically run a compressed copy of Microemacs. I know that something like: uncompress microemacs >temp /*uncompress microemacs.Z into file temp */ temp /*run the uncompressed version */ rm temp /*and remove the file */ but that seems inelegant; kludgy, almost VMS-like! I've been told that it can't be done because of swapping... Can anyone help? -mike begley spam@iastate.edu