top | item 39325286

(no title)

Mandatum | 2 years ago

A script, by its very nature, is synchronous. You run, you get a result. If you want a service, don't use a script.

discuss

order

wruza|2 years ago

That’s a completely arbitrary limitation which should not exist. When my scripts contain independent non-instant subprocesses, I run them in parallel. I’m also using js/ts to write all my scripts, because why wouldn’t I use a proper programming language instead of that “bash” thing that can’t even handle its single datatype well and resorts to all sorts of gibberish to perform trivial operations on it.

frizkie|2 years ago

This is pedantic to the point of being conversationally hostile.

cerved|2 years ago

How? Pipes are not synchronous