# HG changeset patch
# User Willem Jan Palenstijn <wjp@usecode.org>
# Date 1294874818 -3600
# Node ID f5df058cd78375f3996d424795041c5282b83167
# Parent  b3b05bfaf819f19ffe62003f6c57d8c10ceb2a04
#10610: Fix tachyon's block=False

diff -r b3b05bfaf819 -r f5df058cd783 sage/interfaces/tachyon.py
--- a/sage/interfaces/tachyon.py	Wed Jan 12 02:47:30 2011 +0100
+++ b/sage/interfaces/tachyon.py	Thu Jan 13 00:26:58 2011 +0100
@@ -126,7 +126,7 @@
         cmd = 'tachyon %s %s; rm -f "%s"'%(modelfile,opts, modelfile)
 
         if not block:
-            cmd += ' &'
+            cmd = '( ' + cmd + ' ) &'
 
         if verbose:
             print cmd
