Hacker News new | past | comments | ask | show | jobs | submit login

They are in fact executable!

> Due to the initial exec line in the log files, you can resubmit a job by executing it as a shell command file, i.e. running sh $jobid.

(and many shells have a legacy behavior of running a file as a script if it doesn't start with a #! line.)




> (and many shells have a legacy behavior of running a file as a script if it doesn't start with a #! line.)

execlp and execvp are actually guaranteed to do this in POSIX-2017, although shells might also do this themselves if they resolve $PATH by themselves.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: