comparison python/multiproc.py @ 609:3ea759399b8f

STUB: python/multiproc.py
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Feb 2014 12:00:03 -0800
parents 9a5cdd49af53
children 5ce25399da67
comparison
equal deleted inserted replaced
608:9a5cdd49af53 609:3ea759399b8f
27 _kwargs = self.defaults.copy() 27 _kwargs = self.defaults.copy()
28 _kwargs.update(kwargs) 28 _kwargs.update(kwargs)
29 29
30 # on unix, ``shell={True|False}`` should always come from the 30 # on unix, ``shell={True|False}`` should always come from the
31 # type of command (string or list) 31 # type of command (string or list)
32 if not mswindows: 32 if not subprocess.mswindows:
33 _kwargs['shell'] = isinstance(command, string) 33 _kwargs['shell'] = isinstance(command, string)
34 34
35 # output buffer 35 # output buffer
36 self.output_buffer = tempfile.SpooledTemporaryFile() 36 self.output_buffer = tempfile.SpooledTemporaryFile()
37 self.location = 0 37 self.location = 0