Issue
What operation generates the error "text file busy"? I am unable to tell exactly.
I think it is related to the fact that I'm creating a temporary python script (using tempfile) and using execl from it, but I think that execl changes the file being run.
Solution
This error means you are trying to modify an executable while it is executing. The "Text" here refers to the fact that the file being modified is the text segment for a running program. Use lsof
to check what other processes are using it. You can use kill
command to kill it if needed.
Answered By - jaypal singh Answer Checked By - Mary Flores (WPSolving Volunteer)