[issue35060] subprocess output seems to depend on size of terminal screen

2018-10-24 Thread Edward Pratt
Edward Pratt added the comment: You are correct. It works as expected outside of the REPL. > On Oct 24, 2018, at 4:34 PM, Stéphane Wirtel wrote: > > > Stéphane Wirtel added the comment: > > My script: > > #!/usr/bin/env python > import pathlib >

[issue35060] subprocess output seems to depend on size of terminal screen

2018-10-24 Thread Edward Pratt
Edward Pratt added the comment: I don’t think that is true. I tried grepping for what I need in a very small terminal and still got the correct result. > On Oct 24, 2018, at 1:40 PM, Eryk Sun wrote: > > > Eryk Sun added the comment: > > This is due to the ps command

[issue35060] subprocess output seems to depend on size of terminal screen

2018-10-24 Thread Edward Pratt
New submission from Edward Pratt : I am looking for a string inside of a process, and it seems that the output of the check_output command depends on the screen size of the terminal I run the code in. Here I ran the code with a normal screen resolution: >>> result = subprocess.che