• Iustin Pop's avatar
    Implement working directory for utils.RunCmd · 8797df43
    Iustin Pop authored
    In order to replace usage of the shell just for 'cd %s; ...' we need to
    be able to specify the working directory for childs.
    The patch also changes the default working directory (when not
    specified) to "/", as opposed to the current dir; since the daemos run
    with cwd=/ anyway, this should not change things.
    Reviewed-by: imsnah
utils.py 47.2 KB