aidp 0.49.24 → 0.49.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f5c77b9a8a52b78ccff3a2e0556f0fac66566ac04115fe8e067b3ee90c5183b
4
- data.tar.gz: 5540c17626531734d463bb12dabd4bf21a5f414306712208cbb40ad9818eea53
3
+ metadata.gz: ad427b304fbab62202b4bf445c7fdf23a54f034c5b1b5c47110c4f11f9ed7dd2
4
+ data.tar.gz: f4177f6fa4a069625e9b1aeec3778a61635841dbb140c31b030936bcc9e781be
5
5
  SHA512:
6
- metadata.gz: b5cd7d017600cdfbe5e153e8f045fa9b181a47ba0d249330708bdb345d6fbbba7328430a32a4dec6bc84e034696ebb96252afef60ff9c93cfa5a3001f7f67e7a
7
- data.tar.gz: df758ce7f6ac7ef17e3872d4d8d80fccc41f5a029b84eb09f72f20ac143257d87ae900a272b23a58affd8876f6f9024d7427f5719694b3ba63a0a41e1e3800ef
6
+ metadata.gz: c2054896073c0426e7a76ae6220a77f5f3ea089d2c229f469bd7af720b656339e371500aef4188c7025cb8d3331f712deceee894f86bd9e595d03caa9659d4a6
7
+ data.tar.gz: 73106bacf7cd4f8b5f13ce76f1a8d25a9d7ed38a8a61394736dad4572a5659e89f1a91f3f0c395324eeeb99b95a7bff71c5a64b6db11c9055f4e55e40e0593a4
@@ -331,7 +331,8 @@ module Aidp
331
331
  wait_thr = nil
332
332
 
333
333
  Timeout.timeout(timeout) do
334
- Open3.popen3(command, *args) do |stdin, stdout_io, stderr_io, thread|
334
+ program = command.to_s
335
+ Open3.popen3([program, program], *args.map(&:to_s)) do |stdin, stdout_io, stderr_io, thread|
335
336
  wait_thr = thread
336
337
  stdin.close
337
338
  stdout_str = stdout_io.read
@@ -370,7 +370,8 @@ module Aidp
370
370
  # @param timeout [Integer] Timeout in seconds
371
371
  # @return [Integer, Symbol] Exit status or :timeout
372
372
  def run_with_timeout(command_args, timeout)
373
- pid = Process.spawn(*command_args)
373
+ program, *arguments = command_args
374
+ pid = Process.spawn([program, program], *arguments)
374
375
  start_time = Time.now
375
376
 
376
377
  loop do
data/lib/aidp/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aidp
4
- VERSION = "0.49.24"
4
+ VERSION = "0.49.26"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aidp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.24
4
+ version: 0.49.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan