Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
robinhouston
8 months ago
|
parent
|
context
|
favorite
| on:
TIL: timeout in Bash scripts
That's ok, but %1 will refer to the wrong job if there's already a background job running. You could use %% instead, but that will refer to the wrong job if <command> terminates before the timeout.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: