From ed41f3f52cb122388da0c2f4fd63ec1b44c6038e Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 9 Jan 2013 12:34:30 -0800 Subject: [PATCH] Allow `arc.bat` to work from paths with spaces in them Summary: If you dump `arcanist/` into "Program Files" or similar, the `.bat` currently breaks. Quote the path so it doesn't. Fixes T1436. Test Plan: Ran `arc` with `arcanist/` in a path with spaces in it. Reviewers: vrana, btrahan Reviewed By: vrana CC: aran Maniphest Tasks: T1436 Differential Revision: https://secure.phabricator.com/D4375 --- bin/arc.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/arc.bat b/bin/arc.bat index 4289de86..a1fd8f6c 100644 --- a/bin/arc.bat +++ b/bin/arc.bat @@ -1,3 +1,3 @@ @echo off -php -f %~dp0..\scripts\arcanist.php -- %* +php -f "%~dp0..\scripts\arcanist.php" -- %*