ValueErrorTraceback (most recent call last)
<ipython-input-4-a165fed1c015> in <module>()
1 import spur
2 shell = spur.LocalShell()
----> 3 process = shell.spawn("sh", "-c", "pwd")
4 result = process.wait_for_result()
5 print result.output
/home/adsl/anaconda2/lib/python2.7/site-packages/spur/local.pyc in spawn(self, command, *args, **kwargs)
66 stderr=stderr_arg,
67 bufsize=0,
---> 68 **self._subprocess_args(command, *args, **kwargs)
69 )
70 except OSError as error:
/home/adsl/anaconda2/lib/python2.7/site-packages/spur/local.pyc in _subprocess_args(self, command, cwd, update_env, new_process_group)
125 if update_env is not None:
126 new_env = os.environ.copy()
--> 127 new_env.update(update_env)
128 kwargs["env"] = new_env
129 if new_process_group:
ValueError: dictionary update sequence element #0 has length 1; 2 is required