[email protected] wrote:
> This one is even smaller than the last. It fixes 6371. I've included
> diffs, since this one really is a one-line fix:
>
> diff -r 96c4a4dace99 -r 21cc2b92b920 src/modules/pkgsubprocess.py
> --- a/src/modules/pkgsubprocess.py Tue Feb 03 16:17:27 2009 -0600
> +++ b/src/modules/pkgsubprocess.py Wed Feb 04 11:48:06 2009 -0800
> @@ -55,7 +55,7 @@
> env, universal_newlines, startupinfo, creationflags)
>
>
> - if "pkg.pspawn" in globals():
> + if "posix_spawnp" in globals():
>
> def _execute_child(self, args, executable, preexec_fn,
> close_fds, cwd, env, universal_newlines, startupinfo,
Seems like it would work:
python -d
>>> from pkg.pspawn import posix_spawnp
>>> print globals()
{'__builtins__': <module '__builtin__' (built-in)>, '__name__':
'__main__', '__doc__': None, 'posix_spawnp': <built-in function
posix_spawnp>}
>>>
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss