[Pythonmac-SIG] reposting: Q: emulating os.system() on macs?
Sean Hummel
sean@digitalharmony.com
Mon, 6 Dec 1999 21:57:19 -0800
I used to find them on AOL, but I'm sure that they can be found on the
Info-mac sites.
-----Original Message-----
From: Giorgio Brajnik [mailto:giorgio@dimi.uniud.it]
Sent: Saturday, December 04, 1999 4:11 AM
To: sean@digitalharmony.com
Cc: pythonmac-sig@python.org
Subject: Re: [Pythonmac-SIG] reposting: Q: emulating os.system() on macs?
Sean,
thank you for your thoughts. It looks like a promising direction, even
though I cannot yet estimate the effort needed to make N-Shell become a
python extension.
Could you please give me a pointer to where the old sources of N-shell
can be downloaded?
Giorgio
>>>>> On Fri, 3 Dec 1999 13:24:29 -0800, "Sean Hummel"
<sean@digitalharmony.com> said:
Sean> Having put some thought time into this for previous
Sean> projects. I would do the following:
Sean> 1. Get the old N-Shell source. This was a well written
Sean> commercial product which became defunct, and the company
Sean> released it to the public domain. It is easily expandable
Sean> with plugins. And I have found it useful in many projects
Sean> which required a command line interface. It already does
Sean> the most common things you would expect a shell to do.
Sean> 2. I'd modify the source of Nshell so that Python was
Sean> embedded in it. 3. Make an os.system module for your
Sean> embedded version of Python, which allows you to send those
Sean> command lines to the N-Shell command interpreter. 4. Write
Sean> plugins for N-Shell which simulate your commands.
Sean> Of course this is more simplistic than I am sure the project
Sean> would be, but it may be worth your time to look into such a
Sean> solution.