mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-30 12:50:14 +08:00
fix: 修复 Gateway 启动时引号转义导致找不到文件的问题 (raw_arg)
This commit is contained in:
@@ -382,7 +382,7 @@ mod platform {
|
||||
);
|
||||
|
||||
std::process::Command::new("cmd")
|
||||
.args(["/c", &start_cmd])
|
||||
.raw_arg(format!("/c {}", start_cmd))
|
||||
.env("PATH", &enhanced)
|
||||
.creation_flags(CREATE_NO_WINDOW)
|
||||
.spawn()
|
||||
|
||||
Reference in New Issue
Block a user