When to use each method of launching a subprocess in Ruby

前端 未结 3 1112
清歌不尽
清歌不尽 2020-11-29 18:20

1. `` The Backtick

  • defined in Kernel

1. a) %x{} Percent X < alternate syntax for The Backtick

    <
3条回答
  •  情深已故
    2020-11-29 19:23

    Here's a flowchart based on this answer. See also, using script to emulate a terminal.

提交回复
热议问题