Like system, exec or the backticks in ruby?
Yes, see https://github.com/manastech/crystal/blob/master/src/process/run.cr which defines system, the backtick method and a general interface for both as Process.run.
Thanks. There is no chapter in the documentation, isn't it? I'll write one and open a PR, ok?
I see nothing at http://crystal-lang.org/docs/ too, correct, whether that's the best place to document them I'm not sure.
But there are no inline docs for them yet too, and those are most definitely a welcome contribution!
There is also http://crystal-lang.org/api/
@ssvb http://crystal-lang.org/api/ is generated from the inline comments in the code (using Markdown)
For anybody ending up here in 2020, this is the documentation page you want:
https://crystal-lang.org/reference/syntax_and_semantics/literals/command.html
Or the keyword to search for if things get moved around again is: "Command literal"
Most helpful comment
For anybody ending up here in 2020, this is the documentation page you want:
https://crystal-lang.org/reference/syntax_and_semantics/literals/command.html
Or the keyword to search for if things get moved around again is: "Command literal"