mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-06-01 18:25:32 +00:00
use shared ptrs for stream, vfs and ihttpserver and add progress
This commit is contained in:
@@ -171,15 +171,15 @@ namespace Tesses::CrossLang
|
||||
}
|
||||
if(key == "getStandardInput")
|
||||
{
|
||||
return TStreamHeapObject::Create(ls,process.GetStdinStream());
|
||||
return process.GetStdinStream();
|
||||
}
|
||||
if(key == "getStandardOutput")
|
||||
{
|
||||
return TStreamHeapObject::Create(ls,process.GetStdoutStream());
|
||||
return process.GetStdoutStream();
|
||||
}
|
||||
if(key == "getStandardError")
|
||||
{
|
||||
return TStreamHeapObject::Create(ls,process.GetStderrStream());
|
||||
return process.GetStderrStream();
|
||||
}
|
||||
return Undefined();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user