@@ -26,6 +26,7 @@ pub async fn launch_launch_app(pkgname: String) -> Result<(), String> {
|
|||||||
Command::new("/opt/durapps/spark-store/bin/store-helper/ss-launcher")
|
Command::new("/opt/durapps/spark-store/bin/store-helper/ss-launcher")
|
||||||
.arg("launch")
|
.arg("launch")
|
||||||
.arg(&pkgname)
|
.arg(&pkgname)
|
||||||
|
.process_group(0)
|
||||||
.spawn()
|
.spawn()
|
||||||
.map_err(|e| format!("启动应用失败: {}", e))?;
|
.map_err(|e| format!("启动应用失败: {}", e))?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user