mirror of
https://github.com/lune-org/lune.git
synced 2024-12-13 05:20:37 +00: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>(
|
||||
lua: &'static Lua,
|
||||
async fn process_spawn(
|
||||
lua: &Lua,
|
||||
(program, args, options): (String, Option<Vec<String>>, ProcessSpawnOptions),
|
||||
) -> LuaResult<LuaTable<'lua>> {
|
||||
) -> LuaResult<LuaTable> {
|
||||
// Spawn the new process in the background,
|
||||
// letting the tokio runtime place it on a
|
||||
// different thread if necessary, and wait
|
||||
|
|
Loading…
Reference in a new issue