I have a script that uses subprocesses to extract HTML:
misha@misha-K42Jr :~/git/domain_classifier$ python webkit_retrieve.py error-cut.txt html/error -N 5 http://kurabo.co.jp HostNotFoundError http://monarch.com HostNotFoundError http://nssmgmt.com HostNotFoundError http://sbcglobal.net HostNotFoundError http://dynamixcorp.com SslHandshakeFailedError http://groupe-synox.com RemoteHostClosedError QFont::setPixelSize: Pixel size <= 0 (0) http://www.cnn.com NoError http://pacbell.net TimeoutError
If I run the same script but redirect the output to a file, I get nothing as a result:
misha@misha-K42Jr :~/git/domain_classifier$ python webkit_retrieve.py error-cut.txt html/error -N 5 > stdout.txt QFont::setPixelSize: Pixel size <= 0 (0) misha@misha-K42Jr :~/git/domain_classifier$ cat stdout.txt misha@misha-K42Jr :~/git/domain_classifier$
Why is the conclusion empty? If it does not contain the same things that were printed in standard output in the first case?
source share