Skip to content

Add non-interactive mode #25

@jycr

Description

@jycr

it would be interesting to add a "non-interactive" mode to run scripts during build phases.

Cf. JShell documentation:

To accept input from standard input and suppress the interactive I/O, enter a hyphen (-) for load-files. This option enables the use of the jshell tool in pipe chains.

I don't know if it is better to add an option/parameter to the existing run goal, or if it is better to create another specific goal...

NB: According to the tests that I have been able to do, passing the scripts via stdin by indicating '-' as an argument, makes it possible not to have to add the /exit command at the end of the script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions