c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# CDDL HEADER START
c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# The contents of this file are subject to the terms of the
c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# Common Development and Distribution License (the "License").
c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# You may not use this file except in compliance with the License.
c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# See the License for the specific language governing permissions
c8340d34f91f22f5249c174f951bab73547bf53cEugen Kuksa# and limitations under the License.
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
except ImportError:
if shell:
if executable == None:
closed_fds = []
if p2cwrite:
if c2pread:
if errread:
if p2cread:
if c2pwrite:
if errwrite:
if p2cread:
if cwd != None:
if preexec_fn:
if close_fds:
if i in closed_fds:
except OSError:
if env is None:
env = [
if to_close:
if shell:
if executable is None:
closed_fds = []
if cwd is not None:
if preexec_fn:
if close_fds:
if i in closed_fds:
except OSError:
if env is None:
env = [
env)
if devnull_fd is not None: