Forgot to add handling for paths with spaced for when reading paths with spaces on post read_file command on nix sessions
git-svn-id: file:///home/svn/framework3/trunk@12777 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
520760a899
commit
e5a4dad237
|
@ -73,7 +73,7 @@ module File
|
|||
if session.platform == "windows"
|
||||
data = session.shell_command_token("type \"#{file_name}\"")
|
||||
else
|
||||
data = session.shell_command_token("cat #{file_name}")
|
||||
data = session.shell_command_token("cat \'#{file_name}\'")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue