Author: bugman Date: Wed Mar 5 17:21:13 2014 New Revision: 22405 URL: http://svn.gna.org/viewcvs/relax?rev=22405&view=rev Log: Fix for bug #21754 (https://gna.org/bugs/?21754). This is the failure of the grace.view user function on MS Windows in opening a file in qtgrace when the path includes spaces, as reported by Mengjun Xue (mengjun dott xue att mailbox dott tu-berlin dott de). The fix was to run the program with the file name in double quotes. Modified: trunk/pipe_control/grace.py Modified: trunk/pipe_control/grace.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/grace.py?rev=22405&r1=22404&r2=22405&view=diff ============================================================================== --- trunk/pipe_control/grace.py (original) +++ trunk/pipe_control/grace.py Wed Mar 5 17:21:13 2014 @@ -208,7 +208,7 @@ file_path = get_file_path(file, dir) # Run Grace. - system(grace_exe + " " + file_path + " &") + system(grace_exe + " \"" + file_path + "\" &") def write(x_data_type='res_num', y_data_type=None, spin_id=None, plot_data='value', file=None, dir=None, force=False, norm=True):