From 392ce6b12743febd468a2635889803c0bf2a3227 Mon Sep 17 00:00:00 2001 From: Kyle Holzinger Date: Wed, 20 Jul 2016 18:22:36 -0400 Subject: [PATCH] specify bash to run command in (#314) --- app/lib/actions/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/actions/ui.js b/app/lib/actions/ui.js index 97ad6904..ee4cfd72 100644 --- a/app/lib/actions/ui.js +++ b/app/lib/actions/ui.js @@ -145,7 +145,7 @@ export function showPreferences () { uid, ['echo Attempting to open ~/.hyperterm.js with your \$EDITOR', // eslint-disable-line no-useless-escape 'echo If it fails, open it manually with your favorite editor!', - 'exec env $EDITOR ~/.hyperterm.js', + 'bash -c "exec env $EDITOR ~/.hyperterm.js"', '' ].join('\n') ));