Re: How to Run a "sudo" Terminal Command
Re: How to Run a "sudo" Terminal Command
- Subject: Re: How to Run a "sudo" Terminal Command
- From: Axel Luttgens <email@hidden>
- Date: Sat, 12 Dec 2015 14:07:02 +0100
> Le 12 déc. 2015 à 13:49, Dave a écrit :
>
> […]
> set myShellCommand to myMediaToolPath & " " & "—volume " & myVolumePath & "--applicationpath " & myAppPath -- & "--nointeraction"
> […]
>
> I think maybe I need to do something special with spaces in the file/folder paths?
Hello again Dave,
Indeed, it would probably be safer to apply "quoted form of" to each piece of text liable to contain arbitrary characters.
For example, replace
myMediaToolPath
with
(quoted form of myMediaToolPath)
in the above.
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden