in reply to Re^3: Timed STDIN input via threads on Win32
in thread Timed STDIN input via threads on Win32
Tried that as well. Unfortunately, it only accepts one character input via ReadKey($timeout). ReadLine does not support > 0 (or non-blocking). The input I'm trying to get from the user can be one or more. I numbered the selection and the user can input as much numbers as there are in the selection and proceed based on his/her selection. I badly need to make this timed STDIN work because the script will be used manually as well as run as a cron/scheduled task..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Timed STDIN input via threads on Win32
by dasgar (Priest) on Nov 19, 2013 at 04:24 UTC | |
by markperlb0y (Initiate) on Nov 19, 2013 at 04:55 UTC | |
|
Re^5: Timed STDIN input via threads on Win32
by kschwab (Vicar) on Nov 19, 2013 at 03:45 UTC |