std.ps
exec_one_line(cmd) -> line
cmd
line
Execute a command and return its first line of stdout
Executes a shell command and returns only the first line of its stdout. Returns an empty string if the command fails or produces no output.