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-b9f4589650da
unstable
Carlos Perez 2011-05-30 22:16:19 +00:00
parent 520760a899
commit e5a4dad237
1 changed files with 1 additions and 1 deletions

View File

@ -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