mirror of
https://github.com/lune-org/lune.git
synced 2025-04-10 21:40:54 +01:00
Remove unnecessary static lifetime from process.spawn
This commit is contained in:
parent
e3449e7fd9
commit
5dd5fb2ad1
1 changed files with 3 additions and 3 deletions
|
@ -160,10 +160,10 @@ fn process_env_iter<'lua>(
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn process_spawn<'lua>(
|
async fn process_spawn(
|
||||||
lua: &'static Lua,
|
lua: &Lua,
|
||||||
(program, args, options): (String, Option<Vec<String>>, ProcessSpawnOptions),
|
(program, args, options): (String, Option<Vec<String>>, ProcessSpawnOptions),
|
||||||
) -> LuaResult<LuaTable<'lua>> {
|
) -> LuaResult<LuaTable> {
|
||||||
// Spawn the new process in the background,
|
// Spawn the new process in the background,
|
||||||
// letting the tokio runtime place it on a
|
// letting the tokio runtime place it on a
|
||||||
// different thread if necessary, and wait
|
// different thread if necessary, and wait
|
||||||
|
|
Loading…
Add table
Reference in a new issue