This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Run command in new window
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 26 Dec 2017 15:44:40 -0800 (PST)
- Subject: Re: Run command in new window
- Authentication-results: sourceware.org; auth=none
- References: <e12dbeac-a27f-4f41-42c6-d5467433c553@gmail.com>
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