Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

MakeMakefile#xsystem

xsystem(command, werror: false) → true or false

Executes command with expanding variables, and returns the exit status like as Kernel#system. If werror is true and the error output is not empty, returns false. The output will logged.

See also #xpopen #with_cppflags also in 4.0 · 3.4