Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write takes argument from the last Write keyword executed #427

Open
MustBeMerrick opened this issue Feb 17, 2023 · 1 comment
Open

Write takes argument from the last Write keyword executed #427

MustBeMerrick opened this issue Feb 17, 2023 · 1 comment

Comments

@MustBeMerrick
Copy link

MustBeMerrick commented Feb 17, 2023

This is a similar, if not identical issue to issue387.

I have the following keyword sequence:

Write  source /home/file\n
Read Until Prompt  strip_prompt=True
Write  rm -rf /path/to/some/other/dir
Read Until Prompt  strip_prompt=True

The TRACE return of the second Write keyword is:
TRACE Return: ' source /home/file\r\n'
and the TRACE return of the second Read Until Prompt keyword is:
TRACE Return: 'rm -rf /path/to/some/other/dir\r\n'

So it seems that the argument of the first Write keyword was queued on the remote system, and the second Write keyword argument was returned as the stdout of itself (rm -rf /path/to/some/other/dir had a stdout of rm -rf /path/to/some/other/dir)

Any help is appreciated

@vr-n-able
Copy link

I noticed that it somehow relates to os , i have similar scenario. On windows it fails with same error (eg if i run it from win machine, but when i run it on docker it works)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants