class Package::Context property working_directory = "/tmp/package" property sources_directory = Dir.current property packages_directory = Dir.current def initialize end def run(chdir, command, args) Process.run command, args, chdir: chdir, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit end def run(command, args) run nil, command, args end def run(command) run nil, command, nil end end