Did I find the right examples for you? yes no

All Samples(210)  |  Call(141)  |  Derive(0)  |  Import(69)

src/s/u/SublimePTY-HEAD/console/console_server.py   SublimePTY(Download)
        si = win32process.STARTUPINFO()
        si.dwFlags |= win32con.STARTF_USESHOWWINDOW
        (self._handle, self._thandle, self._pid, i2) = win32process.CreateProcess(None, "cmd.exe", None, None, 0, flags, None, '.', si)
        time.sleep(0.2)
        self._con_out = win32console.GetStdHandle(win32console.STD_OUTPUT_HANDLE)

src/s/i/Sipie-0.1196144357/Sipie/StreamHandler.py   Sipie(Download)
            si.hStdError = win32api.GetStdHandle(win32api.STD_ERROR_HANDLE)
            info = win32process.CreateProcess(
                None,
                mpc,
                None,
            si.hStdError = win32api.GetStdHandle(win32api.STD_ERROR_HANDLE)
            info = win32process.CreateProcess(
                None,
                cli,
                None,
            si.hStdError = win32api.GetStdHandle(win32api.STD_ERROR_HANDLE)
            info = win32process.CreateProcess(
                None,
                mpc,
                None,
            si.hStdError = win32api.GetStdHandle(win32api.STD_ERROR_HANDLE)
            info = win32process.CreateProcess(
                None,
                mpc,
                None,
            si.hStdError = win32api.GetStdHandle(win32api.STD_ERROR_HANDLE)
            info = win32process.CreateProcess(
                None,
                cli,
                None,

src/p/l/plone.recipe.cluster-1.0.0rc1/plone/recipe/cluster/nt_service.py   plone.recipe.cluster(Download)
        # circumstances of a service process.
        create_flags = win32process.CREATE_NEW_CONSOLE
        info = win32process.CreateProcess(None, cmd, None, None, True,
                                          create_flags, None, None, si)
        # (NOTE: these really aren't necessary for Python - they are closed

src/b/u/buildbot-HEAD/slave/contrib/windows/buildbot_service.py   buildbot(Download)

src/b/u/buildbot-HEAD/master/contrib/windows/buildbot_service.py   buildbot(Download)

src/l/i/libdesktop-agnostic-HEAD/wafadmin/pproc.py   libdesktop-agnostic(Download)
		from win32con import DUPLICATE_SAME_ACCESS,SW_HIDE
		from win32pipe import CreatePipe
		from win32process import CreateProcess,STARTUPINFO,GetExitCodeProcess,STARTF_USESTDHANDLES,STARTF_USESHOWWINDOW,CREATE_NEW_CONSOLE
		from win32event import WaitForSingleObject,INFINITE,WAIT_OBJECT_0
	else:
					creationflags|=CREATE_NEW_CONSOLE
			try:
				hp,ht,pid,tid=CreateProcess(executable,args,None,None,1,creationflags,env,cwd,startupinfo)
			except pywintypes.error,e:
				raise WindowsError(*e.args)

src/v/i/VistA-HEAD/Python/Pexpect/winpexpect.py   VistA(Download)
                      CloseHandle, GetCurrentThread, STD_INPUT_HANDLE)
from win32pipe import CreateNamedPipe, ConnectNamedPipe
from win32process import (STARTUPINFO, CreateProcess, CreateProcessAsUser,
			  GetExitCodeProcess, TerminateProcess, ExitProcess,
                          GetWindowThreadProcessId)
 
    try:
        res = CreateProcess(input['command'], input['args'], sattrs, None,
                            True, CREATE_NEW_CONSOLE, os.environ, os.getcwd(),
                            startupinfo)
        else:
            token = None
            res = CreateProcess(python, pyargs, None, None, False,
                                CREATE_NEW_CONSOLE, self.env, self.cwd,
                                startupinfo)

src/p/l/plone.recipe.cluster-1.0.0rc1/plone/recipe/cluster/service.py   plone.recipe.cluster(Download)
            si.wShowWindow = win32con.SW_HIDE
            create_flags = win32process.CREATE_NEW_CONSOLE
            return win32process.CreateProcess(None, cmd, None, None, True,
                        create_flags, None, None, si)
 

src/b/u/buildbot-slave-0.8.8/contrib/windows/buildbot_service.py   buildbot-slave(Download)

src/b/u/buildbot-0.8.8/contrib/windows/buildbot_service.py   buildbot(Download)

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