in reply to how to sleep-awake on perl script?
> perl -le 'print "I am $$. I sleep now."; kill STOP => $$; print "I a +m awake again!"' I am 22667. I sleep now. Stopped (signal) > perl -e 'kill CONT => 22667' I am awake again! [1] 22667 Exit 0 perl -le print "I am $$. I sleep now."; kill STOP => +$$; print "I am alive again!"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to sleep-awake on perl script?
by Anonymous Monk on Apr 24, 2009 at 00:57 UTC |