diff --git a/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala b/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala
index 1dcdf209605a03ea93ede2b107133e5e18ae4762..88c5b5bbd603044ce96cec0a275aed75c64744fc 100644
--- a/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala
+++ b/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala
@@ -164,8 +164,7 @@ private[spark] class ExecutorRunner(
       env.put("SPARK_LAUNCH_WITH_SCALA", "0")
       process = builder.start()
 
-      val header = "Spark Executor Command: %s\n======================================\n\n"
-        .format(command.mkString(" "))
+      val header = "Spark Executor Command: %s\n%s\n\n".format(command.mkString(" "), "=" * 40)
 
       // Redirect its stdout and stderr to files
       val stdout = new File(executorDir, "stdout")
diff --git a/run b/run
index 8bbde1a027c678105965b136fe791e9ac873b9dc..3868332c90cdd1c2ca4ffe037008ed78d0a95c4b 100755
--- a/run
+++ b/run
@@ -168,7 +168,7 @@ fi
 command="$RUNNER -cp \"$CLASSPATH\" $EXTRA_ARGS $@"
 if [ "$SPARK_PRINT_LAUNCH_COMMAND" == "1" ]; then
   echo "Spark Command: $command"
-  echo "======================================"
+  echo "========================================"
   echo
 fi