in reply to Re^4: LD_LIBRARY_PATH setting
in thread LD_LIBRARY_PATH setting
This is higly weird because I would expect that code to go into an endless self-exec loop instead of producing that error message. You never check for the self-restart flag.
Maybe consider adding more debug output, for example two print statements around the exec statement:
... print "Rerunning $0 --restarted @ARGV\n"; exec $0, '--restarted', @ARGV or print STDERR "couldn't exec foo: $!"; ...
Also, if you put your code in between <code>...</code> tags, it renders and downloads much better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: LD_LIBRARY_PATH setting
by pdupre (Acolyte) on Aug 05, 2016 at 19:22 UTC | |
by Corion (Patriarch) on Aug 05, 2016 at 19:45 UTC | |
by pdupre (Acolyte) on Aug 05, 2016 at 20:50 UTC |