Petals ESB CLI

Force to redirect stdin to use Petals CLI in script mode

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.0.0
  • Fix Version/s: None
  • Component/s: Command-line
  • Security Level: Public
  • Description:
    Hide

    The option '-s' should be used with the redirection of stdin through a file or an inlined command:

    $ petals-cli.sh -s < example.petals
    $ echo "help" | petals-cli.sh -s
    $ petals-cli.sh -s << EOF
    > help
    > exit
    EOF

    If the redirection of stdin is not used, we can enter command as the console mode but without message:

    $ petals-cli.sh -s

    To be cleared, this should be forbidden !

    Show
    The option '-s' should be used with the redirection of stdin through a file or an inlined command:
    $ petals-cli.sh -s < example.petals
    $ echo "help" | petals-cli.sh -s
    $ petals-cli.sh -s << EOF
    > help
    > exit
    EOF
    If the redirection of stdin is not used, we can enter command as the console mode but without message:
    $ petals-cli.sh -s
    To be cleared, this should be forbidden !
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2h 32m
1
Christophe DENEUX
Wed, 29 Feb 2012 - 18:33:42 +0100
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Wed, 29 Feb 2012 - 18:33:44 +0100
In Progress In Progress Resolved Resolved
12s
1
Christophe DENEUX
Wed, 29 Feb 2012 - 18:33:56 +0100

People

Dates

  • Created:
    Wed, 29 Feb 2012 - 16:01:04 +0100
    Updated:
    Thu, 20 Sep 2012 - 16:57:09 +0200
    Resolved:
    Wed, 29 Feb 2012 - 18:33:56 +0100