Multi-line do shell script. How?
Multi-line do shell script. How?
- Subject: Multi-line do shell script. How?
- From: Simon Forster <email@hidden>
- Date: Wed, 21 Apr 2004 11:13:30 +0100
How can I "do shell script" with more than 1 line. More specifically,
how can I do the equivalent of:
python
>>> import sys
>>> sys.path
from within do shell script?
Actually, I only want to do this to check that an environment variable
set in ~/.bashrc is also set in whatever environment "do shell script"
runs under. The real goal is to import a module and run one of its
functions with a supplied argument, all from "do shell script". So if
you could let me know how to do this, I'd be eternally grateful (well,
until the next issue giving me large bumps on head and associated
headache crops up ;-)
TIA
Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.