[Pythonmac-SIG] reposting: Q: emulating os.system() on macs?

Bill Dozier dozier@abs.net
Sun, 05 Dec 1999 13:34:07 -0500


I don't know if this is the most recent version available, but at least the
link Sherlock turned up wasn't dead.

http://hyperarchive.lcs.mit.edu/cgi-bin/NewSearch?key=nshell



> From: Giorgio Brajnik <giorgio@dimi.uniud.it>
> Date: Sat, 4 Dec 1999 13:10:50 +0100 (MET)
> 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.
> 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://www.python.org/mailman/listinfo/pythonmac-sig
>