Skip to content

In the run.sh script, why are there backticks around the startup command? #15

@timvlaer

Description

@timvlaer

See

`python3 /usr/bin/amazon_kclpy_helper.py --print_command --java /usr/bin/java --properties /usr/bin/sample.properties --log-configuration /usr/bin/logback.xml` &

I am confused by the syntax with backticks. I thought it is an old way of writing $() to evaluate something inline and use the output in the command itself. But since this command on line 4 is not nested, I wonder what the added value is.

It also distracts from the super important & at the end which makes sure the command is ran in the background so the script continues to the tail of the log. (If you don't run it in the background, there's no logging at all.)

I understand the MultiLangDaemon uses stdin and stdout for communication with the python process. Is that the reason the python process itself cannot run as the main process?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions