Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. $ winpty python -c 'print("hello")' | grep h
  2. stdout is not a tty
  3.  
  4. $ winpty -Xallow-non-tty python -c 'print("hello")' | grep h
  5. hello
  6.  
  7. php.exe -i > info
  8.  
  9. php -i > info
  10.  
  11. rayluo@DESKTOP-10B0N4G MINGW64 ~
  12. $ python -c "print('hello world')" > test.txt
  13. stdout is not a tty
  14.  
  15. (env27) C:Usersrayluo>python -c "print('hello world')" > test.txt
  16. (env27) C:Usersrayluo>type test.txt
  17. hello world
  18.  
  19. bash -c 'php -i > info'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement