We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd021b commit f4f8c1aCopy full SHA for f4f8c1a
lib/rsx.risor
@@ -3,7 +3,8 @@ import regexp
3
import exec
4
5
func shell(command) {
6
- exec("bash", ["-c", command])
+ cmd := exec.command(["bash", "-c", command])
7
+ return string(cmd.combined_output())
8
}
9
10
func log(msg) {
0 commit comments