I am calling system command in python by os.system() I do, os.system("wget http://blah blah blah") then I run the program by ./programname >redirected file The things put to screen doesn't redirect to the file I want. What's the trick in here? Thanks