X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=ZUeEKoXOF9nkiLWD/h7JFIrUWV+9q VlNEgaeEqr5qUX2gNHfCiQOB8T6nqpcGPybVKK7iv+dRlXo9aukokG5/ce5uZvu0 WRIxKJik1QeAWwQ3cKFy+qgkZ03bK/x6lpRYrY8T0U1yJu6YI5oMs9/3mfLNuH89 2kYY1A6GAiwddQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=/R9hobDXmzfDPZestfOShFc8CS0=; b=nHb 2cjvK3XAf+kOAMpCGpbTiq1MWpOkYmeC9fHZKkYAKEpi6Mgb0VZQ5J8ioB+Bc0bG nKnBMsyGQPQXI9/B9rmQXrVVENibbRM8LrwlGoFK4RegBapwsw84DLKUP6t1mlP+ WhlPIc0qg1BlPqskHQswgdGGsEYHVB5XBDT07u4w= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=cluster, H*c:alternative X-HELO: mail-ua0-f169.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=sfCN/Kc0vD3Plt6wO9Okjjpum3QjlWwJuXjyaQrv9Eg=; b=ELvoFwsU6G0hUKDE4w/+DQT+E5egM/3pB10vuNaMgT1XTXfOCLxEJkXTmJayYUseg/ fOTTGOB8stwuvaNkk1jsNosDrRGnoWebT5655Fx2QiQko/bEwPuYjKi98BHVu7/Sx11p d4scEn4Dgpz9qrtPBYSQHS/8mN6a4FiX5cHZrQre2Hd/CIIh3uRh0FIyElJlNfuZ4+19 SSb6JBJ9HjsTjeSX/a/f5PcYOyqptIPncTudaABTSH87cBe5YMXYZin1W7a/vp/GA8Ny 8dBQ78Xo223bwRQ9Odi+Mf8RyOskvjwpxPl6x3XLM49ZRscrqbbOzuRNfoo364+c0xQ+ l63Q== MIME-Version: 1.0 From: David Karr Date: Tue, 31 Jul 2018 09:15:21 -0700 Message-ID: Subject: Any reason Cygwin might prevent kubectl exec from showing shell prompt? To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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