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

« back to all changes in this revision

Viewing changes to ivle/interpret.py

  • Committer: Matt Giuca
  • Date: 2009-02-25 09:24:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090225092431-7p3ee29xjegfbhc7
Ivle header: Put ivleheader_text inside ivleheader, simplifying the CSS a lot.
    (The div is now small so it only covers the "userhello" text).

Show diffs side-by-side

added added

removed removed

Lines of Context:
439
439
         working_dir, binary] + args,
440
440
        stdin=subprocess.PIPE, stdout=subprocess.PIPE,
441
441
        stderr=subprocess.PIPE, cwd=tramp_dir, close_fds=True)
442
 
 
443
 
    (stdout, stderr) = proc.communicate()
444
 
    exitcode = proc.returncode
 
442
    exitcode = proc.wait()
445
443
 
446
444
    if exitcode != 0:
447
445
        raise ExecutionError('subprocess ended with code %d, stderr %s' %
448
446
                             (exitcode, proc.stderr.read()))
449
 
    return (stdout, stderr)
 
447
    return (proc.stdout.read(), proc.stderr.read())