This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: scripting elevated privilege on Windows 7


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]