public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Any reason Cygwin might prevent kubectl exec from showing shell prompt?
@ 2018-07-31 20:16 David Karr
  2018-07-31 20:34 ` Thomas Wolff
  0 siblings, 1 reply; 2+ messages in thread
From: David Karr @ 2018-07-31 20:16 UTC (permalink / raw)
  To: The Cygwin Mailing List

I really have no idea if this is a Cygwin problem, just trying to eliminate
variables.

I believe my Cygwin version is "2.9.0(0.318/5/3)" (from the uname string).

From a mintty window, I use a variation of "kubectl exec" in a script to
run a shell in a container in a pod.  It appears to run, and I can run
processes from that shell in the container, but the curious thing is that I
never get a shell prompt from the container.  I thought I had gotten this
to work before, in the same k8s cluster, but I'm not certain.

The other curious thing I see is that if I execute "echo $PS1" in the shell
in the container, it gives me a reasonable response ("\w \$"), but if I
instead do "env | grep PS1", it returns nothing.

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-31 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31 20:16 Any reason Cygwin might prevent kubectl exec from showing shell prompt? David Karr
2018-07-31 20:34 ` Thomas Wolff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).