Sortix's implementation of #! doesn't have a length limit (I may add a big one). It tokenizes the command into arbitrary arguments, with support for single and double quotes. It searches the PATH for the command. #!python -a -b "foo bar" This will just work on Sortix.https://twitter.com/Foone/status/1039248062898614275 …
-
Show this thread
-
-
Replying to @RichFelker
Yes. Was made before I realized how problematic that can be. Got a bunch of those issues.
1 reply 0 retweets 1 like
Replying to @sortiecat
Yeah. It's really a shame that nobody teaches this stuff -- that an interface where the caller requires the callee to perform unbounded allocation, especially in the case where the call is across privilege domains, is seriously problematic.
3:43 PM - 10 Sep 2018
0 replies
2 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.