PERL: When does exec cause a pid switch?
Advertisements My boss wrote some code (I know – dangerous territory) in perl years ago, and now it’s causing a problem – the pid changes, so the pidfile is no longer valid. Code: exec($0, "-f", "$configfile") I think there may be a shell invocation involved that is forking $0 (cloning probably), but he’s 1000% sure… Read More PERL: When does exec cause a pid switch?