- changed status to closed
Ensure pydsh default is threads
Issue #16
closed
In version 2.5 of pydsh
we made the default to spawn threads and not use sub-processes until the option of --redline
is selected. This is the behavior for non-coalesced output but the coalesced output still uses sub-processes.
This line basically needs to change from:
if kwargs['redline']:
jobs_finished = sshreader.sshread(jobs, pcount=-1, tcount=0, progress_bar=True)
else:
jobs_finished = sshreader.sshread(jobs, pcount=0, tcount=0, progress_bar=True
To:
if kwargs['redline']:
jobs_finished = sshreader.sshread(jobs, pcount=0, tcount=0, progress_bar=True)
else:
jobs_finished = sshreader.sshread(jobs, tcount=0, progress_bar=True
Comments (1)
-
reporter - Log in to comment
Ensuring pydsh prefers threads by default
Closes issue
#16→ <<cset 70b9974b812f>>