use shell mode in Popen call