Changeset c94fa32


Ignore:
Timestamp:
Jan 12, 2012, 5:13:50 PM (12 years ago)
Author:
Quentin Smith <quentin@…>
Branches:
no-cups
Children:
d994f15
Parents:
b8c3505
git-author:
Quentin Smith <quentin@…> (01/11/12 23:19:55)
git-committer:
Quentin Smith <quentin@…> (01/12/12 17:13:50)
Message:

Clean up mplayer command line, and log it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/server/player.py

    rb8c3505 rc94fa32  
    6767            self._done = False
    6868
     69        command = "/usr/bin/mplayer -really-quiet -slave".split()+[self.fh.name]
     70        logger.info("Running %r", command)
     71
    6972        if self._dryrun:
    7073            step = 0.01
     
    7780        else:
    7881            # open mplayer
     82
    7983            with self.lock:
    8084                self.player = subprocess.Popen(
    81                     "/usr/bin/mplayer -really-quiet -slave %s" % self.fh.name,
    82                     shell=True,
     85                    command,
    8386                    stdin=subprocess.PIPE,
    8487                    stderr=subprocess.PIPE,
Note: See TracChangeset for help on using the changeset viewer.