Skip to content

Commit c0ac85c

Browse files
committed
Fixed rake task
This fix allows to reuse `::Rake::Task['protobuf:compile'].invoke` in custom rake tasks. `system` call doesn't replace current process, but `exec` call does.
1 parent 182b969 commit c0ac85c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/protobuf/tasks/compile.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace :protobuf do
2222
full_command = command.join(' ')
2323

2424
puts full_command
25-
exec(full_command)
25+
system(full_command)
2626
end
2727

2828
desc 'Clean the generated *.pb.rb files from the destination package. Pass PB_FORCE_CLEAN=1 to skip confirmation step.'

0 commit comments

Comments
 (0)