Fix an issue where %TEMP% contains a space
git-svn-id: file:///home/svn/framework3/trunk@8019 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
488b0cba5d
commit
aeebec3b7f
|
@ -79,7 +79,7 @@ print_status("Uploaded the persistent agent to #{tempvbs}")
|
|||
#
|
||||
# Execute the agent
|
||||
#
|
||||
proc = session.sys.process.execute("wscript #{tempvbs}", nil, {'Hidden' => true})
|
||||
proc = session.sys.process.execute("wscript \"#{tempvbs}\"", nil, {'Hidden' => true})
|
||||
print_status("Agent executed with PID #{proc.pid}")
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue