From 3327182dc0ad7adf6a86fdf6c58849c010151d49 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Fri, 12 Nov 2021 14:49:15 +0800 Subject: [PATCH] fix: sh and cmd use absolute path --- configui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configui.go b/configui.go index 4600ea9..2f31e2f 100644 --- a/configui.go +++ b/configui.go @@ -16,8 +16,8 @@ import ( "kumoly.io/tools/configui/public" ) -var UNIX_SHELL = "sh" -var WIN_SHELL = "cmd" +var UNIX_SHELL = "/usr/bin/sh" +var WIN_SHELL = "C:\\Windows\\System32\\cmd" const version = "v0.1.11"