Web lists-archives.com

Re: Run command in new window

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