Closed Sh1Fu closed 1 year ago
Current problem in this function(crontab_task.py):
def run_netlab(self, username: str, password: str, mode: str) -> None: process = subprocess.Popen(["python3", "main.py"]) sleep(20) process.communicate(input=("%s\n%s\n" % (username, password)).encode()) for count in range(int(mode) - 1): keyboard.send("page down") keyboard.send("enter")
You need to understand why sending data to stdin by the App class is not triggered
Fix this in feature/crontab_task branch and pull request it later
feature/crontab_task
https://github.com/CITGuru/PyInquirer/tree/master/tests
Files:
Current problem in this function(crontab_task.py):
You need to understand why sending data to stdin by the App class is not triggered
Fix this in
feature/crontab_task
branch and pull request it later