Skip to content

system() does not return boolean when Dir.pwd is uri:classloader  #5127

@mkristian

Description

@mkristian

Environment

tested a few 9.x.x.x versions which all behave the same on MacOS

Expected Behavior

$ bin/jruby -C uri:classloader:/ -e 'puts Dir.pwd; puts system("echo asd").class'
uri:classloader:/
asd
TrueClass

Actual Behavior

$ bin/jruby -C uri:classloader:/ -e 'puts Dir.pwd; puts system("echo asd").class'
uri:classloader:/
NilClass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions