aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/tokio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/tokio.rs')
-rw-r--r--src/command/tokio.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/command/tokio.rs b/src/command/tokio.rs
deleted file mode 100644
index c63b18a..0000000
--- a/src/command/tokio.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-impl super::Impl for tokio::process::Command {
- type Child = tokio::process::Child;
-
- fn new_impl(program: &::std::ffi::OsStr) -> Self {
- Self::new(program)
- }
-
- fn stdin_impl(&mut self, cfg: ::std::process::Stdio) {
- self.stdin(cfg);
- }
-
- fn stdout_impl(&mut self, cfg: ::std::process::Stdio) {
- self.stdout(cfg);
- }
-
- fn stderr_impl(&mut self, cfg: ::std::process::Stdio) {
- self.stderr(cfg);
- }
-
- unsafe fn pre_exec_impl<F>(&mut self, f: F)
- where
- F: FnMut() -> ::std::io::Result<()> + Send + Sync + 'static,
- {
- self.pre_exec(f);
- }
-
- fn spawn_impl(&mut self) -> crate::Result<Self::Child> {
- self.spawn().map_err(crate::error::spawn)
- }
-}