robotframework / robotframework/RIDE
Double quotes are added by RIDE in Execute command
@HelioGuilherme66 is already working on this.
Since Dec 15, 2020.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 385
- Avg merge
- 13m
- Merged PRs (30d)
- 2
Description
Hi,
I am observing an issue that double quotes are added by RIDE with Execute command (SSHLibrary) and Write command keywords.
When I open the code with RIDE in tabular format, all code looks fine.
SSHLibrary.Execute Command ${execCmd} -- /bin/bash -c "sudo pkill telnet"
But when I execute this code in linux using robot command, it gives me error and i saw extra double quotes are present with command (please see attached image).
If i open same code in Notepad++, there also I see double quotes. If I remove it using notepad, code runs fine but if i open again in RIDE, i see, RIDE again add these double quotes.
Also this issue is seen with old code, If i write new code in RIDE then i don't see any issue w.r.t double quotes.
Please let me us know how we can resolve this issue for our legacy code.
`

`
RIDE version : v2.0b2.dev0 running on Python 3.7.3
robotframework 3.2.2
robotframework-sshlibrary 3.4.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.