non-repl mode
@@ -217,9 +217,7 @@ impl Interpreter for Clojure_fifo {
Ok(())
}
fn execute(&mut self) -> Result<String, SniprunError> {
- let output = Command::new(self.interpreter.split_whitespace().next().unwrap())
- .args(self.interpreter.split_whitespace().skip(1))
- .arg(&self.interpreter)
+ let output = Command::new(self.interpreter.clone())
.arg(&self.main_file_path)
.args(&self.get_data().cli_args)
.output()
