~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to src/common/interpret.py

  • Committer: mattgiuca
  • Date: 2007-12-20 03:11:16 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:92
interpret.py: catch stderr as stdout as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
    # usage: tramp uid jail_dir working_dir script_path
108
108
    pid = subprocess.Popen(
109
109
        [trampoline, str(uid), jail_dir, working_dir, script_path],
110
 
        stdin=f, stdout=subprocess.PIPE, cwd=tramp_dir)
 
110
        stdin=f, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
 
111
        cwd=tramp_dir)
111
112
 
112
113
    # process_cgi_line: Reads a single line of CGI output and processes it.
113
114
    # Prints to req, and also does fancy HTML warnings if Content-Type