11 lines
221 B
Nim
11 lines
221 B
Nim
import winim, osproc, strutils
|
|
|
|
import ../types
|
|
|
|
proc executeShellCommand*(command: seq[string]): TaskResult =
|
|
|
|
echo command.join(" ")
|
|
let (output, status) = execCmdEx(command.join(" "))
|
|
|
|
return output
|