diff --git a/bin/foamJob b/bin/foamJob
index 70e2c39..f487e2e 100755
--- a/bin/foamJob
+++ b/bin/foamJob
@@ -40,6 +40,7 @@ options:
   -case <dir>       specify alternative case directory, default is the cwd
   -parallel         parallel run of processors
   -screen           also sends output to screen
+  -wait             wait for execution to complete
   -version <ver>    specify an alternative OpenFOAM version
   -help             print the usage

@@ -86,7 +87,7 @@ findExec() {

 # MAIN SCRIPT
 #~~~~~~~~~~~~
-unset parallelOpt screenOpt
+unset parallelOpt screenOpt waitOpt


 # parse options
@@ -109,6 +110,10 @@ do
       screenOpt=true
       shift
       ;;
+   -w | -wait)
+      waitOpt=true
+      shift
+      ;;
    -v | -version)
       [ "$#" -ge 2 ] || usage "'$1' option requires an argument"
       version="$2"
@@ -222,6 +233,8 @@ then
     else
         echo "Executing: $mpirun $mpiopts $APPLICATION $@ -parallel > log 2>&1"
         $mpirun $mpiopts $APPLICATION $@ -parallel > log 2>&1 &
+        pid=$!
+        if [ "$waitOpt" = true ]; then wait $pid; fi
     fi

 else
@@ -236,6 +249,8 @@ else
     else
         echo "Executing: $APPLICATION $@ > log 2>&1 &"
         $APPLICATION $@ > log 2>&1 &
+        pid=$!
+        if [ "$waitOpt" = true ]; then wait $pid; fi
     fi
 fi

