This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12/4/2018 3:52 PM, Marco Atzeri wrote:
Am 04.12.2018 um 21:41 schrieb David Karr:"CYGWIN_NT-6.1 WACDTL03DK068X 2.9.0(0.318/5/3)"I installed a version of "kubectl" for windows, and I use it extensively inCygwin bash for scripting command-line automation. In general, this works perfectly fine. I even use the same scripting in a Linux VM. I'm seeing an issue with one script that works fine in the Linux VM, but not in Cygwin. The command line is approximately this:kubectl exec pod -c container -i -t -- grep "string" stuff.properties2>&1 | sed -e 's/^propname=//' In Linux, this works perfectly fine. In Cygwin, it says "stdout is not a tty". I haven't updated my local Cygwin installation for quite a while. I'dprefer not to, unless there is a strong chance this kind of thing would befixed.as kubectl is not a Cygwin program, it is not aware of cygwin pty. You can try to use winpty to overcome the problem. https://github.com/rprichard/winpty
Or grab the source and try to build a Cygwin version. Looks like there are a number of dependencies though but primarily golang.
-- cyg Simple -- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |