We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d61d6fd commit e18e3f3Copy full SHA for e18e3f3
lib/gnuplot.rb
@@ -55,7 +55,7 @@ def Gnuplot.which_helper bin
55
#
56
# Return the path to the gnuplot executable or nil if one cannot be found.
57
def Gnuplot.gnuplot( persist = true )
58
- cmd = which( ENV['RB_GNUPLOT'] || 'gnuplot' )
+ cmd = '"' + which( ENV['RB_GNUPLOT'] || 'gnuplot' ) + '"'
59
raise 'gnuplot executable not found' unless cmd
60
cmd += " -persist" if persist
61
cmd
0 commit comments