This repository was archived by the owner on Mar 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ coroutine.wrap(function ()
4141 " -i=" .. TempLocation .. " Pkg.twr" ,
4242 " --isexe=true" ,
4343 " --exearg=" .. QueryString .urlencode (Base .encode (Json .encode (process .argv ))),
44- " --exename=" .. ExeName
44+ " --exename=" .. ExeName ,
45+ " --exepid=" .. process .pid
4546 },
4647 stdio = {
4748 process .stdin .handle ,
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ coroutine.wrap(function ()
4242 Folder = Path .resolve (args [0 ], " ../" ),
4343 This = Path .resolve (args [0 ]),
4444 Here = Path .resolve (" ./" ),
45- Os = require (" los" ).type ()
45+ Os = require (" los" ).type (),
46+ Pid = process .pid
4647 }
4748 TypeWriter .Logger = require (" Logger" )
4849
@@ -59,11 +60,11 @@ coroutine.wrap(function ()
5960
6061 ActionOverride = " executeexecutable"
6162 TypeWriter .Input = TypeWriter .ArgumentParser :GetArgument (" input" , " i" , " " )
63+ TypeWriter .Pid = tonumber (TypeWriter .ArgumentParser :GetArgument (" exepid" , " exepid" , " " ))
6264
6365 TypeWriter .Args = ExeArgs
6466 TypeWriter .Arguments = TypeWriter .Args
6567 TypeWriter .ArgumentParser = require (" ArgumentParser" ):new (TypeWriter .Args ):Parse ()
66-
6768 end
6869 -- #endregion
6970
You can’t perform that action at this time.
0 commit comments