wine

Performance of subprocess.check_output vs subprocess.call

Performance of subprocess.check_output vs subprocess.call Question: I’ve been using subprocess.check_output() for some time to capture output from subprocesses, but ran into some performance problems under certain circumstances. I’m running this on a RHEL6 machine. The calling Python environment is linux-compiled and 64-bit. The subprocess I’m executing is a shell script which eventually fires off a …

Total answers: 2

How to call Wine dll from python on Linux?

How to call Wine dll from python on Linux? Question: I’m writing a python script in Linux, and need to call some Windows functions available in Wine. Specifically, AllocateAndInitializeSid and LookupAccountSidW, to determine who is logged in to a remote Windows computer. These functions are part of advapi32.dll in Wine (edit: using the answers, I …

Total answers: 2