mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
fix(script): spawning outside of tokio runtime causing crash
Fixes #408.
This commit is contained in:
parent
e0dc5e104a
commit
963f8edc45
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::send_async;
|
||||
use crate::{send_async, spawn};
|
||||
use color_eyre::eyre::WrapErr;
|
||||
use color_eyre::{Report, Result};
|
||||
use serde::Deserialize;
|
||||
|
@ -7,9 +7,9 @@ use std::fmt::{Display, Formatter};
|
|||
use std::process::Stdio;
|
||||
use tokio::io::{AsyncBufReadExt, BufReader};
|
||||
use tokio::process::Command;
|
||||
use tokio::select;
|
||||
use tokio::sync::mpsc;
|
||||
use tokio::time::sleep;
|
||||
use tokio::{select, spawn};
|
||||
use tracing::{debug, error, trace, warn};
|
||||
|
||||
#[derive(Debug, Deserialize, Clone)]
|
||||
|
|
Loading…
Add table
Reference in a new issue