Skip Menu |

This queue is for tickets about the Win32-Job CPAN distribution.

Report information
The Basics
Id: 50009
Status: new
Priority: 0/
Queue: Win32-Job

People
Owner: Nobody in particular
Requestors: Torsten.Werner [...] assyst-intl.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Extension for Win32-Job to run processes with different account
Date: Fri, 25 Sep 2009 09:42:51 +0200
To: bug-Win32-Job [...] rt.cpan.org
From: Torsten.Werner [...] assyst-intl.com
Hi, I made 2 extensions: - a change to use CreateProcessAsUser. It is triggered by use of "user" in the parameter. - a possibility to leave the started job running on parent process exit I use "Visual C++ 2008 Express edition" to compile the module. Let me know if there is a problem with other compilers. The attached archive contains the modified files and a new sample_as_user.pl. Sample_as_user.pl does exactly the same like sample.pl as a different user, asks for login information and starts notepad and regedit on the desktop of the calling process and notepad on a different desktop. Currently the restrictions are: - if the user for the child process has a roaming profile, the module will not load this profile. - the USERPROFILE environment variable will be set to a empty string Bye Torsten (See attached file: Win32-Job-0.03.zip)
Download Win32-Job-0.03.zip
application/zip 16.3k

Message body not shown because it is not plain text.