This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Rsh with wish application.
- From: "Tikka, Sami" <Sami dot Tikka at F-Secure dot com>
- To: "cygwin" <cygwin at cygwin dot com>
- Date: Thu, 3 Jan 2002 13:53:06 +0200
- Subject: RE: Rsh with wish application.
This is just a guess, but on real Unix systems an error like yours usually
occurs because in the first case the remote system is running a login shell
for you and in the second case the shell is not a login shell.
Perhaps the proper execution of tclsh or your script depends on some
initialization that is only done if the shell is a login shell. Perhaps some
environment variable gets set in /etc/profile and bash only runs that for
login shells. Check 'man bash' for startup differences for login and
non-login shells.
--
Sami Tikka tel: +358 9 2520 5115
Senior Software Engineer fax: +358 9 2520 5015
F-Secure Corporation http://www.F-Secure.com/
F-Secure: Securing the Mobile Enterprise
-----Original Message-----
From: Kalpesh Dave [mailto:kalpeshd@PDF.COM]
Sent: Wednesday, January 02, 2002 7:31 PM
To: cygwin
Subject: Rsh with wish application.
I am trying to run wish application ( e.g. tclsh82.exe trial.tcl ) with
rsh command from remote computer to computer xyz.
It works okay, if I do the following sequence.
1) rsh xyz ,
2) give the password
3) tclsh82.exe trial.tcl
It hangs up if I try the following command.
rsh xyz tclsh82.exe trial.tcl
Also to make a point, both the above commands work if there are tcl
commands ( except for calling wish application ).
So, It must have to do something related to RSH with wish application.
Let me know if anyone can help me,
Thanks,
Kalpesh
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/