amoffat/pbs — pull request #55 by dbarnett (2012-03-17 08:36:55+00:00)
Title: Test for coercing backgrounded process to int

The README example of curling github in the background fails because \_\_unicode\_\_ never calls p.wait(). We probably want to add the standard `if self.call_args["bg"]: self.wait()` into RunningCommand.\_\_unicode\_\_, but things like

>>> pbs.sleep(3, _bg=True)

might surprise people by running in the foreground since repr is called right off the bat.