Skip to content

Commit

Permalink
Remove unused duplex attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Jan 21, 2023
1 parent 5e1e639 commit 1fdf2e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/aruba/processes/spawn_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def initialize(command_array)
@exit_status = nil
end

attr_accessor :stdout, :stderr, :duplex, :cwd, :environment
attr_accessor :stdout, :stderr, :cwd, :environment
attr_reader :command_array, :pid

def start
Expand Down Expand Up @@ -162,13 +162,11 @@ def start
@stderr_file.set_encoding("ASCII-8BIT")

@exit_status = nil
@duplex = true

before_run

@process.stdout = @stdout_file
@process.stderr = @stderr_file
@process.duplex = @duplex
@process.cwd = @working_directory

@process.environment = environment
Expand Down

0 comments on commit 1fdf2e0

Please sign in to comment.