From: Daniel B. firstname.lastname@example.org
to work, except that if I attempt to pass an environment
string, it causes
the app to die instantly. What am I doing wrong?
The ‘notepad’ process requires ‘SystemRoot’ environment
CreateProcess = Win32API.new(‘kernel32’,‘CreateProcess’, params, ‘I’)
startinfo = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
p create() # ok
Works great, thanks.
This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.