From 8cb77034f31a2946f9e58857dc4d712a1db5abd9 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 5 Jun 2019 14:27:53 +1200 Subject: [PATCH] Fix quoted strings in linux --- src/parser/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/ast.rs b/src/parser/ast.rs index 9a859d4c5e..f1d4f2db8f 100644 --- a/src/parser/ast.rs +++ b/src/parser/ast.rs @@ -400,7 +400,7 @@ impl Leaf { fn as_external_arg(&self) -> String { match self { - Leaf::String(s) => format!("{}", s), + Leaf::String(s) => format!("\"{}\"", s), Leaf::Bare(path) => format!("{}", path.to_string()), Leaf::Boolean(b) => format!("{}", b), Leaf::Int(i) => format!("{}", i),