TeachMePythonLikeIm5 icon indicating copy to clipboard operation
TeachMePythonLikeIm5 copied to clipboard

GitHub action 'execute-modified-python-file.yml' fails if program uses 'input()'

Open funbeedev opened this issue 3 years ago • 2 comments

About Bug or problem Any program using input() will not execute when action is running as it is waiting for user to input something

Steps to reproduce Modify a python file that uses the input() function to trigger GitHub action to run Example of action that failed because of this issue

Potential fix Find a way to verify programs that are using input()

funbeedev avatar Oct 23 '21 13:10 funbeedev

I can fix this easily by modifying the stdin using sys package, can you assign it to me?

Thanks

Aaliya1708 avatar Oct 23 '21 14:10 Aaliya1708

@Aaliya1708 Of course, you're assigned now!

funbeedev avatar Oct 23 '21 14:10 funbeedev