Re: passing shell script arguments?
Re: passing shell script arguments?
- Subject: Re: passing shell script arguments?
- From: Star <email@hidden>
- Date: Thu, 2 Oct 2003 17:47:33 -0400 (GMT-04:00)
Hi Steve,
Thanks for the help, but still no success, still getting same
result. I guessed first I should test the variable that I am passing
to this syntax example. This way I atleast know the path variables
are being fed right into this syntax example.
Steve Writes:
>
> 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)
So, I placed an:
open TestFile
open FileLog
right before the syntax you gave and both were opened fine.
My question is, should it be a file or an alias? So, if these
variables to the files open like that above, then passing them
through the syntax you provided should be working?
Or, should the variable be working with:
open alias TestFile
open alias FileLog
The result is still:
= Result (sh: test_file log_file)
if I run the shell script in the terminal without specifying the
"test_file & log_file" arguments, that is result I get also.
Indicating that the script itself is fine, it seems that both
paths are fine, yet the way they are being passed
is not kosher? . . . aaarrgghhh
Thanks, Patrick
_______________________________________________
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.