class

Carat::Ports::SystemShell

Inherits Carat::Ports::Shell < Reference < Object

Instance methods

run(command : String, args : Array(String), cwd : String | Nil) : Bool

stdin наследуется: git должен иметь возможность спросить учётные данные интерактивно (приватный репозиторий, https-токен, ssh-пароль).

Source
run_command(command : String, cwd : String | Nil) : Bool

A shell command line (prebuild: in binaries:) — run through the platform shell so pipes/globs/env assignments work.

Source
which(command : String) : String | Nil
Source