2025-05-22 20:03:22 +02:00
|
|
|
import winim, osproc, strutils
|
2025-05-19 21:56:34 +02:00
|
|
|
|
|
|
|
|
import ../types
|
2025-05-22 20:03:22 +02:00
|
|
|
|
2025-05-23 13:55:00 +02:00
|
|
|
proc taskShell*(command: seq[string]): TaskResult =
|
2025-05-22 20:03:22 +02:00
|
|
|
|
|
|
|
|
echo command.join(" ")
|
|
|
|
|
let (output, status) = execCmdEx(command.join(" "))
|
|
|
|
|
|
|
|
|
|
return output
|