\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{import} \PYG{n+nn}{subprocess}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{import} \PYG{n+nn}{sys}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{child} \PYG{o}{=} \PYG{n}{subprocess}\PYG{o}{.}\PYG{n}{Popen}\PYG{p}{(}\PYG{n+nb}{str}\PYG{p}{(}\PYG{n}{cline}\PYG{p}{),}
\PYG{g+gp}{... }                         \PYG{n}{stdin}\PYG{o}{=}\PYG{n}{subprocess}\PYG{o}{.}\PYG{n}{PIPE}\PYG{p}{,}
\PYG{g+gp}{... }                         \PYG{n}{stdout}\PYG{o}{=}\PYG{n}{subprocess}\PYG{o}{.}\PYG{n}{PIPE}\PYG{p}{,}
\PYG{g+gp}{... }                         \PYG{n}{stderr}\PYG{o}{=}\PYG{n}{subprocess}\PYG{o}{.}\PYG{n}{PIPE}\PYG{p}{,}
\PYG{g+gp}{... }                         \PYG{n}{universal\PYGZus{}newlines}\PYG{o}{=}\PYG{k+kc}{True}\PYG{p}{,}
\PYG{g+gp}{... }                         \PYG{n}{shell}\PYG{o}{=}\PYG{p}{(}\PYG{n}{sys}\PYG{o}{.}\PYG{n}{platform}\PYG{o}{!=}\PYG{l+s+s2}{\PYGZdq{}win32\PYGZdq{}}\PYG{p}{))}
\end{Verbatim}
