I’m writing a script to assist people who’ll scan a barcode and get a response to keep or dispose the scanned sample. I want to have a message, similar to tk’s messagebox or Win32::MsgBox but one that requires no user interaction to go away after three seconds.
Share
My thought was to create the messages in a child process, using
alarmto kill the process after a delay. In Tk:I don’t think Tk plays nicely with
fork, though, so this idea probably won’t work so well if you are also usingTkin your main process.