79830613

Date: 2025-11-26 11:10:50
Score: 0.5
Natty:
Report link

I was able to solve the issue using following lines of code -

Using apostrophe!

Please note - I still use Robot Framework SSH Library.

All this code is running from a .robot file and executes on a remote machine with a SSH connection open!

    ${part1} =   Set Variable    py ""${remote_file_full_path}
    ${part2} =   Set Variable     --id 11064 --output C:\\Sandeep\\process_output.txt""
    ${part3} =   Catenate    ${part1}    ${part2}

      ${status}=  Execute Command  ${part3}  return_stderr=True  return_stdout=True  

thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sandepku