Running via batch file showing passwords
Good morning - Is there any way to disable/hide the command prompt windows that shows what the script is doing? My concern is that it shows the log of what it's doing including passwords!
I'm using version 1.1.2
Here's the batch file I'm using (Win 7 user)
\\nas1\
-------
I've tried the following within the script:
Settings.
Settings.InfoLogs=0
OpsPassword = input("Please enter your OPS password", hidden = True)
It still shows it in the cmd prompt windows.
Thanks again for this amazing software (I'm still very very new to it)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sikuli Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- 2018-08-30
- Last query:
- 2018-08-30
- Last reply:
- 2018-07-21
I think you may try redirecting STDout to nul, as described here:
https:/
That is run the script as
\nas1\remote$
|
#2 |
I checked with the latest 1.1.3:
A script simply containing this line:
OpsPassword = input("Please enter your OPS password", hidden = True)
does not print the entered password when run from commandline (even not in the IDE and even not with debug level set to 3).
xyz_User (userseven) said : | #3 |
Thanks RaiMan, that solved my question.