â [ruby] ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãä¾åç ç½é»ã®ã¿ã¼ããã«ã§Rubyã¹ã¯ãªãããç·¨éãã¦ãã¦ã def run(uid, gid, date, message) cmd = "run_foo_bar --uid=#{uid} --gid=#{gid} --date=#{date} --message="#{message}" puts cmd system cmd end run(201, 301, "20080415", "This is a sample message.") ã $ ruby foo.rb run_foo_bar --uid=201 --gid=301 --date=20080415 --message= ... ã®ãããªå®è¡çµæã«ãªã(messageã表示ãããªã)ã®ã§æ°åèãããã§ãã¾ã£ãã â [prog] http://github.com/ http:
{{#tags}}- {{label}}
{{/tags}}