Skip to content

pgroup => true problematic with rerun use #9

@dentarg

Description

@dentarg

#1 added the pgroup => true option to Process.spawn

def run(options={})
env = @options[:env].merge(options[:env] || {})
output = options[:output] || $stdout
runner = "#{Foreman.runner}".shellescape
pgroup = Foreman.windows? ? :new_pgroup : :pgroup
Dir.chdir(cwd) do
Process.spawn env, expanded_command(env), :out => output, :err => output, pgroup => true
end
end

That makes this chain stop working: overman -> rerun -> overman -> <app>

rerun prints [rerun] <app> launched but it is never started

Not sure if it depends on what flags you pass to rerun, I should post a repro here. I've been using rerun 0.14.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions