Check for valid arguments and environment to spawnProcess.

ReturnsA two element tuple giving values to use when creating the process. The first element of the tuple is a list of bytes giving the values for argv of the child process. The second element of the tuple is either None if env was None or a dict mapping bytes environment keys to bytes environment values.
Function argChecker No summary
def argChecker(arg): (source)

Return either bytes or None. If the given value is not allowable for some reason, None is returned. Otherwise, a possibly different object which should be used in place of arg is returned. This forces unicode encoding to happen now, rather than implicitly later.

API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.