python executable not stoppable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

python executable not stoppable

Yanwu Gu

I have a simple python script that is printing time every second:

import time

while True:
  localtime = time.localtime()
  result = time.strftime("%I:%M:%S %p", localtime)

I use pyinstaller --onefile to create an executable.

However, when I run the executable, i cant terminate it by ctrl c or ctrl z. Any idea why? Any work around?

You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit