|
|
Log in / Subscribe / Register

PID

PID

Posted Oct 8, 2011 11:53 UTC (Sat) by abacus (guest, #49001)
In reply to: PID by Richard_J_Neill
Parent article: A Plumber's Wish List for Linux

There's no need to increase PID size in order to solve the race in your program. Just use the following:

#!/bin/bash
process2 &
jobspec="%1"
#do stuff for several hours.
kill $jobspec
exit


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds