mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-09-30 08:44:14 +00:00
Fixed Process.ShellFileOrUrl was broken New.ShellFileOrUrl
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user