Skip to content

Commit f4f8c1a

Browse files
committed
Bump rsx lib
1 parent 8dd021b commit f4f8c1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rsx.risor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import regexp
33
import exec
44

55
func shell(command) {
6-
exec("bash", ["-c", command])
6+
cmd := exec.command(["bash", "-c", command])
7+
return string(cmd.combined_output())
78
}
89

910
func log(msg) {

0 commit comments

Comments
 (0)