why did python run in this case? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: why did python run in this case? (/thread-39668.html) |
why did python run in this case? - Skaperen - Mar-23-2023 i was trying to run a big command in a bash shell in a non-root user under Xubuntu 20.04 involving a bash loop, system binary commands, and one binary command i wrote in C and compiled to binary (and have used quite often over the years). this big command took longer than expected so i wanted to try something else. i pressed ^C and got a message that appeared to come from Python. any clue what it could have been run for? after a few messages it paused for a while and i pressed ^C again and got "KeyboardInterrupt" and then it quit with timing info from the time prefix on the shell loop. i'm just curious WHY Python was running. what it was doing might be helpful to know. any clues?
RE: why did python run in this case? - Gribouillis - Mar-23-2023 You already had problems with the site module in this thread, apparently due to invalid links that you defined. Could it be a similar configuration error? RE: why did python run in this case? - Skaperen - Mar-23-2023 i wouldn't rule that out. but it is odd the Python is running in this. i need to check each command very closely to see how Python-free it is or not. i have played around with coding common POSIX commands in Python and there may be some leftovers involved. it was ^C-ing about 2-3 minutes into it running. it let it run all the way and it took 7m23s. that seems reasonable to grep every .h file in /usr. |