Skip to content

Cannot pass system properties in comand line #14005

Closed
@acaproni

Description

@acaproni

With scala 3.1.0 (installed from the tar file), it is not possible to pass system properties in the shell command line:

[ias@centos8 ~]$ which scala
/opt/scala3-3.1.0/bin/scala
[ias@centos8 ~]$ scala -version
Scala code runner version 3.1.0 -- Copyright 2002-2021, LAMP/EPFL
[ias@centos8 ~]$ scala -Dprop.name=propValue
bad option '-Dprop.name=propValue' was ignored
Welcome to Scala 3.1.0 (11.0.9.1, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.

scala>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions