You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment all the parameters are passed to a script via common line arguments (e.g. my_script.sh -param1 ABC -param2 DEF)
And during script execution, a user can input text to stdin (if, for example, he is asked for some additional confirmation).
It would be nice, to have such parameters, which would be sent to stdin automatically by Script server, when, for example, special output text is detected.
E.g.
{
"parameter": "username",
"expected_text": "Enter your name"
}
So, when a script is executed and prints: Enter your name, Script server will write username parameter to stdin
At the moment all the parameters are passed to a script via common line arguments (e.g. my_script.sh -param1 ABC -param2 DEF)
And during script execution, a user can input text to stdin (if, for example, he is asked for some additional confirmation).
It would be nice, to have such parameters, which would be sent to stdin automatically by Script server, when, for example, special output text is detected.
E.g.
So, when a script is executed and prints:
Enter your name
, Script server will writeusername
parameter to stdinSome more examples of similar functionality:
https://pexpect.readthedocs.io/en/stable/overview.html
The text was updated successfully, but these errors were encountered: