From 73396026bb52ec095caad63fd9930a77052f4d76 Mon Sep 17 00:00:00 2001
From: Matthew Webster <mwebster@fmrib.ox.ac.uk>
Date: Wed, 18 Jun 2014 14:55:52 +0000
Subject: [PATCH] potential fix for weird child process bug on some accounts

---
 melodic.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/melodic.tcl b/melodic.tcl
index 33f45ab..3aa52a8 100644
--- a/melodic.tcl
+++ b/melodic.tcl
@@ -91,7 +91,7 @@ set tempSpin -1
 
 toplevel $w
 
-catch { exec sh -c "${FSLDIR}/bin/melodic -V | grep \[0-9\]" } melodicversion
+catch { exec sh -c "${FSLDIR}/bin/melodic -V | grep '\[0-9\]'" } melodicversion
 set fmri(version) [ lindex $melodicversion 2 ]
 
 wm title      $w $melodicversion
-- 
GitLab