This is the mail archive of the
mailing list for the Cygwin project.
Re: cygstart does not pass correct ssh login to rsync
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 18 Mar 2018 10:48:30 +0100
- Subject: Re: cygstart does not pass correct ssh login to rsync
- References: <trinity-78edb7bc-d71d-4d7b-a2db-553f4aa25e61-1521318057990@3c-app-mailcom-lxa15> <trinity-f16159ec-869c-40f6-afb5-097e6448adbd-1521327095818@3c-app-mailcom-lxa02>
On 17/03/2018 23:51, John tel wrote:
Thanks for your reply.
I can see what you are asking this question.
Well, ultimately I need to run cygstart with the --hide flag because I want to start this in a hidden window.
bottom post here (and trim your reply please), using that will have
immediately noticed you replied to your mail and not to mine.
The difference between running ssh from shell and with cygstart
is that cygstart asks windows to do it and so the new process loses
the environment link with the running shell.
Pstree shows the cygstart process on new arms
You can see the differences running
cygstart mintty -
and than using `set` for both terminal.
In the first case the process is not starting a login shell (the - for
mintty) and the two environments are slight different.
For what you are trying to do, you could use cygstart to run a login
shell that executes the ssh command.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple