Fixed Process.ShellFileOrUrl was broken New.ShellFileOrUrl

This commit is contained in:
2026-06-21 01:13:36 -05:00
parent a6be15410d
commit 56b74dc6fc
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ void TStd::RegisterProcess(std::shared_ptr<GC> gc, TRootEnvironment *env) {
return Undefined();
});
process->DeclareFunction(
dict->DeclareFunction(
gc, "ShellFileOrUrl", "Launch file or url in shell", {"urlOrFilename"},
[](GCList &ls, std::vector<TObject> args) -> TObject {
std::string fileOrUrl;