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
>
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
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