Fix an issue where %TEMP% contains a space

git-svn-id: file:///home/svn/framework3/trunk@8019 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-12-29 04:11:58 +00:00
parent 488b0cba5d
commit aeebec3b7f
1 changed files with 1 additions and 1 deletions

View File

@ -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}")
#