File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ Local<Value> SystemClass::cmd(const Arguments& args) {
103103 return Boolean::newBoolean (NewProcess (
104104 " cmd /c" + cmd,
105105 [callback{std::move (callbackFunc)},
106- engine{EngineScope::currentEngine ()}](int exitCode, std::string output) {
106+ engine{EngineScope::currentEngine ()}](int exitCode, std::string output) mutable {
107107 ll::coro::keepThis (
108108 [engine, callback = std::move (callback), exitCode, output = std::move (output)](
109109 ) -> ll::coro::CoroTask<> {
@@ -143,7 +143,7 @@ Local<Value> SystemClass::newProcess(const Arguments& args) {
143143 return Boolean::newBoolean (NewProcess (
144144 process,
145145 [callback{std::move (callbackFunc)},
146- engine{EngineScope::currentEngine ()}](int exitCode, std::string output) {
146+ engine{EngineScope::currentEngine ()}](int exitCode, std::string output) mutable {
147147 ll::coro::keepThis (
148148 [engine, callback = std::move (callback), exitCode, output = std::move (output)](
149149 ) -> ll::coro::CoroTask<> {
You can’t perform that action at this time.
0 commit comments