Changing subprocess.call to subprocess.Popen.

And defining function for Popen's preexec_fn parameter. Only thing missing is genacls UID and GID and some testing.