Skip to content

Commit 19a6bd8

Browse files
committed
Updated syntax.
1 parent ce1c1b8 commit 19a6bd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/async/container/thread.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ def exec(*arguments, ready: true, **options)
7272
end
7373

7474
begin
75-
# TODO prefer **options... but it doesn't support redirections on < 2.7
76-
pid = ::Process.spawn(*arguments, options)
75+
pid = ::Process.spawn(*arguments, **options)
7776
ensure
7877
_, status = ::Process.wait2(pid)
7978

0 commit comments

Comments
 (0)