Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/s/a/Sauce-RC-HEAD/uninstall_cleanup.py   Sauce-RC(Download)
    def get_pid_exe(pid):
        h = None
        try:
            h = win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS, False, pid)
            filepath = win32process.GetModuleFileNameEx(h, 0)

src/s/o/social-engineer-toolkit-HEAD/src/payloads/set_payloads/shell.py   social-engineer-toolkit(Download)
                            try:
                                handle = win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS, False, pid)
                                exe = win32process.GetModuleFileNameEx(handle, 0)
                                data+=exe + " PID:" + str(pid) + "\r\n"
                            except: pass

src/e/n/enso-portable-HEAD/enso/commands/go.py   enso-portable(Download)
                    False, 
                    process_id)
                pexe = win32process.GetModuleFileNameEx(phandle, 0)
                pexe = os.path.normcase(os.path.normpath(pexe))
                # Remove extension

src/f/p/fpdb-sql-HEAD/pyfpdb/WinTables.py   fpdb-sql(Download)
        processid = win32process.GetWindowThreadProcessId(hwnd)
        pshandle = win32api.OpenProcess(win32con.PROCESS_QUERY_INFORMATION | win32con.PROCESS_VM_READ, False, processid[1])
        exename = win32process.GetModuleFileNameEx(pshandle, 0)
 
        # clean up

src/e/d/EDDIE-Tool-1.0.0/eddietool/arch/Windows/proc.py   EDDIE-Tool(Download)
    def __init__(self, pid, han):
 
        if han:
            try:
                exe = win32process.GetModuleFileNameEx(han, 0)