This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: CreateProcess() - executed program gets different argument depending if it's compiled with gcc (cygwin) or cl (VS)?
On Fri, Feb 19, 2010 at 1:37 PM, Piotr Krukowiecki wrote:
>>> "\\hostname" is remote path location, I don't think I can use
>>> "//hostname" instead, either for cygwin program and especially not for
>>> not-cygwin program, can I? (can't check it now)
>>
>> With Windows, you're free to use either path separator. ?With Cygwin,
>> you're life will be easier if you use '/' though it will accept '\' too if
>> properly escaped.
>
> ok, so it works for paths - but what about other arguments, that are
And even for paths the results might be different - i.e. the program
might interpret "//foo" differently than "\\foo" - e.g. as an option.
--
Piotr Krukowiecki
--
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