Re: Python not reading result from bash command

2015-11-23 Thread cyg Simple
On 11/23/2015 4:25 AM, Aaron Schneider wrote: > >> Subject: Re: Python not reading result from bash command >> >> what is adb ? >> >> I suspect it is mainly pty communication (or lack of) between >> cygwin a

RE: Python not reading result from bash command

2015-11-23 Thread Aaron Schneider
> 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

Re: Python not reading result from bash command

2015-11-23 Thread Marco Atzeri
On 23/11/2015 10:04, Aaron Schneider wrote: Subject: Python not reading result from bash command Trying to read an argument as string, however doesn't work on python for cygwin. Tested on Python 3.5.0 (32-bit) from Python Software Foundation and works perfectly. test.py: import datetime imp

RE: Python not reading result from bash command

2015-11-23 Thread Aaron Schneider
> Subject: Python not reading result from bash command > > Trying to read an argument as string, however doesn't work on python for > cygwin. Tested on Python 3.5.0 (32-bit) from Python Software Foundation and > works perfectly. > > test.py: > import datetime > import sys > my_date = str(sys.argv