Re: passing shell script arguments?
Re: passing shell script arguments?
- Subject: Re: passing shell script arguments?
- From: Steve Mills <email@hidden>
- Date: Thu, 2 Oct 2003 15:30:02 -0500
On Thursday, Oct 2, 2003, at 14:48 US/Central, Star wrote:
I have a rather lengthy shell script that acts upon a file path and
posts results to a log file. I have been able to read this large shell
script into a property and save it inside my applescript that way. The
problem I am having though is that the arguments I am passing to the
shell script are not being passed right. I am trying many logical ways
that do not seem to work. The shell understands the shell script
because it is asking for the arguments, it does not like the way I am
passing them. After searching the list archives I am more confused
than before as to what to try next. Please help, I'm close but stumped
here. . .
Maybe you need to surround the pathnames with single quotes:
do shell script (myShellCode & " " & quoted form of posix path of
TestFile & " " &
quoted form of posix path of FileLog)
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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.