Did I find the right examples for you? yes no

All Samples(25068)  |  Call(0)  |  Derive(0)  |  Import(25068)
subprocess - Subprocesses with accessible I/O streams

This module allows you to spawn processes, connect to their
input/output/error pipes, and obtain their return codes.  This module
intends to replace several other, older modules and functions, like:

os.system
os.spawn*
os.popen*
popen2.*(more...)

src/w/m/WMCore-HEAD/src/python/WMCore/Storage/Plugins/Examples/SRMV2Impl.py   WMCore(Download)
import os, re
import logging, tempfile
import subprocess
from subprocess import Popen, PIPE
 

src/w/m/WMCore-HEAD/src/python/WMCore/Storage/Plugins/Examples/DCCPFNALImpl.py   WMCore(Download)
import commands
import logging
import subprocess
from WMCore.Storage.StageOutError import StageOutError, StageOutFailure
 

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/lib/internal_ipkernel.py   antisocial(Download)
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
 
import subprocess

src/o/p/OpenMDAO-Framework-HEAD/examples/openmdao.examples.enginedesign/openmdao/examples/enginedesign/test/test_save_load.py   OpenMDAO-Framework(Download)
import pkg_resources
import shutil
import subprocess
import unittest
 

src/d/x/dx-toolkit-HEAD/doc/examples/dx-apps/report_example/src/report_example.py   dx-toolkit(Download)
import matplotlib.pyplot as pyplot
import numpy
import subprocess
 
use_html = False  # True to generate an HTML file containing the images and extra info

src/d/x/dx-toolkit-HEAD/doc/examples/dx-apps/python_trimmer_example/src/python_trimmer_example.py   dx-toolkit(Download)
import os
import dxpy
import subprocess
 
@dxpy.entry_point('main')

src/d/x/dx-toolkit-HEAD/doc/examples/dx-apps/gtable_example/src/gtable_example.py   dx-toolkit(Download)
#!/usr/bin/env python
# gtable_example 0.0.1
 
import subprocess
 

src/b/e/Bento-HEAD/bento/private/_yaku/examples/subst_tool/example.py   Bento(Download)
import subprocess
 
from yaku.context \
    import \
        get_bld, get_cfg

src/b/c/bcbb-HEAD/nextgen/bcbio/pipeline/sample.py   bcbb(Download)
"""
import os
import subprocess
 
 

src/a/p/appscale-HEAD/AppServer/lib/google-api-python-client/runsamples.py   appscale(Download)
import os
import signal
import subprocess
import sys
import time

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next