|
|
|
|
|
by dlitz
3630 days ago
|
|
I'd like to see a good CLI design involving sandboxing-by-default, and handling object-capabilities (e.g. file descriptors) as first-class objects. Right now, "convert a.jpg b.png" passes the strings "a.jpg" and "b.png" to ImageMagick's convert command, but that command is free to open whatever files it wants, since there's no distinction between strings vs resources such as filenames, network sockets, etc. You can do this with pipes in simple cases, and bash has some support for this, but it's very primitive and the syntax is cumbersome. |
|