diff --git a/cmake/moose.in b/cmake/moose.in
index b8137171cb352eb21d82c4504ddab850bea976e3..f6702e3e6c19f497e037d954a4c087b6db03081b 100755
--- a/cmake/moose.in
+++ b/cmake/moose.in
@@ -1,5 +1,3 @@
-#!/usr/bin/env bash
+#!/bin/sh sh
 
-(
-    cd @CMAKE_INSTALL_PREFIX@/lib/moose/gui && python mgui.py & 
-)
+cd @CMAKE_INSTALL_PREFIX@/lib/moose/gui && python mgui.py