Run command in new window

Jürgen Wagner juergen@wagner.is
Wed Dec 27 01:38:00 GMT 2017


Why don't you put the stuff to execute into a nice shell script and get
rid of the intricacies of quoting on the command line level?
That'a way easier to manage and test.

--j.

On 27.12.2017 00:44, Steven Penny wrote:
> On Tue, 26 Dec 2017 17:44:11, cyg Simple wrote:
>> If you want to pass quotes to the process on the command line then
>> you need
>> to quote them or use a backslash on the quote to prevent the shell doing
>> the exec to process them.
>>
>> $ cygstart bash -c \'echo 1\; read\'
>
> I dont want to pass quotes. Sure, in this case it seems like the way
> to go, but
> sometimes it might make sense to just escape the problem character(s)
> rather
> than twice quote the whole thing.
>
> If thats not possible then fine, but I havent seen someone say that
> its not
> possible yet, and if so why its not possible.
>
>
> -- 
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3986 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20171227/3aa64f39/attachment.p7s>


More information about the Cygwin mailing list