0
我试图使用runas和xcopy将它复制到c:\ Windows \ System32 scr文件并崩溃我的应用程序。我在ClojureScript写,所以我的代码如下所示:runas xcopy崩溃我的电子应用程序
(runas "C:\\Windows\\System32\\xcopy.exe"
#js ["C:\\Users\\pupeno\\Documents\\Dashman\\clients\\dist\\win-unpacked\\Dashman.scr"
"C:\\Windows\\System32\\"
"/F"]
#js {:admin true})
其编译为:
configurator.main.runas.call(null,
"C:\\Windows\\System32\\xcopy.exe",
["C:\\Users\\pupeno\\Documents\\Dashman\\clients\\dist\\win-unpacked\\Dashman.scr",
"C:\\Windows\\System32\\",
"/F"],
({"admin": true}));
当我运行这段代码,有人问我输入密码,但然后应用程序只是冻结。任何想法可能是错误的吗?
谢谢