in reply to Can't install Sys::RunAlone

The CPAN Tester Matrix shows no passing tests on mswin32. Perhaps the module author did not design this to be run on windows.

Replies are listed 'Best First'.
Re^2: Can't install Sys::RunAlone
by gepebril69 (Scribe) on Apr 11, 2012 at 22:52 UTC

    Thanks for the help. That sounds like a reasonable explanation to me.

    In the meantime I've built a construction using PID files.

    On script start it saves it's PID to a file
    When script ends it removes it's PID file.

    When you start the script you check on PID file, if it exists and a proces uses this PID you just exit and wait for the next TASK event.
    Not 100% solid, but 99,999999% I guess :)