Use shlex to split up commands for Popen.