summaryrefslogtreecommitdiffstats
path: root/src/backends/python.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/python.rs')
-rw-r--r--src/backends/python.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/python.rs b/src/backends/python.rs
index e3569b1..3ee7b35 100644
--- a/src/backends/python.rs
+++ b/src/backends/python.rs
@@ -2,7 +2,7 @@ use serde_derive::{ Serialize, Deserialize };
use crate::backends::{ Backend, RunError };
use std::process::{ Command };
use std::path::Path;
-use crate::wait::{ wait_child, WaitInfo };
+use crate::wait::{ wait_child, ChildExitStatus };
#[derive(Debug, Serialize, Deserialize, Default)]
pub struct PythonBackend {
@@ -32,7 +32,7 @@ impl Backend for PythonBackend {
}
}
- fn run(&self, fname: &Path) -> Result<WaitInfo, RunError> {
+ fn run(&self, fname: &Path) -> Result<ChildExitStatus, RunError> {
let timer = std::time::Instant::now();
let child = Command::new(self.get_interpreter())