free_mutant/bin/mutant
Markus Schirp 97e069ed96 Replace zombie executable with --zombie flag
The zombie executable was symlinked, symlinks do not work properly under
jruby and rbx.
2013-07-27 12:25:22 +02:00

18 lines
290 B
Ruby
Executable file

#!/usr/bin/env ruby
trap('INT') do |status|
exit! 128 + status
end
require 'mutant'
namespace =
if ARGV.include?('--zombie')
$stderr.puts('Running mutant zombified!')
Mutant::Zombifier.zombify
Zombie::Mutant
else
Mutant
end
Kernel.exit(namespace::CLI.run(ARGV))