This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
RE: Python not reading result from bash command
- From: Aaron Schneider <notstop2 at users dot sourceforge dot net>
- To: "cygwin-apps at cygwin dot com" <cygwin-apps at cygwin dot com>
- Date: Mon, 23 Nov 2015 09:25:59 +0000
- Subject: RE: Python not reading result from bash command
- Authentication-results: sourceware.org; auth=none
- References: <DUB126-W46B458D42BA7E8C49355ECCE070 at phx dot gbl> <DUB126-W534041AEF6C47F1D909BBDCE070 at phx dot gbl>,<5652D8B2 dot 8060809 at gmail dot com>
----------------------------------------
> Subject: Re: Python not reading result from bash command
>
> what is adb ?
>
> I suspect it is mainly pty communication (or lack of) between
> cygwin and not cygwin programs.
> See
> https://github.com/mintty/mintty/issues/56
adb is the Android Debugging Bridge. It's a command to communicate with any android smartphone and execute commands inside or get a results (kind of chroot+remote shell). So I'm trying to get the date of the device with that adb command and operate with it. I've checked the same exact bash command on Windows Powershell (%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe) and works perfectly the way I want it. Looks like the windows poweshell has some kind of bash+tools inside which are very powerful (much more than command.com which is the msdos tool and doesn't allow the bash syntax.
I'll report the issue to MinTTY and see if they can look further into the issue.