aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/diagram.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-02 07:30:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-02 07:30:35 +0000
commit5aad8206044f98b28bc303d5bd7d3e4f935e96ec (patch)
tree4873263f227dc109031fcfcc1db0a54cbf298c57 /lib/rdoc/diagram.rb
parent95ce90a87ed0a058386eea410aeac0aac2ee2dc8 (diff)
downloadruby-5aad8206044f98b28bc303d5bd7d3e4f935e96ec.tar.gz
* io.c (pipe_open): erred program name should be reported by
exceptions, instead of the first argument. * process.c (rb_spawn): ditto. * process.c (proc_spawn_v): use first argument as program name. * win32/win32.c (rb_w32_aspawn): ditto. * win32/win32.c (CreateChild): search executable file if no program name given. * lib/drb/extservm.rb (invoke_service_command): use Process.spawn. [ruby-dev:23103] * lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen. [ruby-dev:23086], [ruby-dev:23103] * lib/rdoc/diagram.rb (convert_to_png): ditto. * lib/rdoc/generators/chm_generator.rb (compile_project): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/diagram.rb')
-rw-r--r--lib/rdoc/diagram.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/diagram.rb b/lib/rdoc/diagram.rb
index 94ab17bb35..3ff36c1d03 100644
--- a/lib/rdoc/diagram.rb
+++ b/lib/rdoc/diagram.rb
@@ -295,7 +295,7 @@ module RDoc
f << graph.to_s << "\n"
end
- system "dot -T#{op_type} #{src} -o #{dot}"
+ system "dot", "-T#{op_type}", src, "-o", dot
# Now construct the imagemap wrapper around
# that png