Skip to content

PTY.spawn doesn't pass arguments #3185

@Freaky

Description

@Freaky
require 'pty'
r, w, pid = PTY.spawn('/usr/bin/yes', 'nope')
p r.gets # => "y\r\n"

Should return "nope\r\n".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions