scripting elevated privilege on Windows 7
Eric Blake
eblake@redhat.com
Fri Apr 16 17:40:00 GMT 2010
On 04/16/2010 11:37 AM, Eric Blake wrote:
> You are missing some quotes, and might as well use nicer quoting styles:
^^^^^^^
command substitution styles
>
> exec cygstart --action=runas "$(which "$prog") "$@"
And I'm missing quotes, too.
exec cygstart --action=runas "$(which "$prog")" "$@"
I'll go back and hide in my hole now :(
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100416/3d6c713b/attachment.sig>
More information about the Cygwin
mailing list