Skip to content

Native binary generated using quarkus, graalvm and picocli trying to read from .env folder in working directory #36868

@mehab

Description

@mehab

Describe the bug

A native binary generated using quarkus, graalvm and picocli is being executed in a directory containing a python virtual environment directory called .env
Because of the naming convention of this folder, the executable is trying to read from this .env folder (assuming it is a .env file containing some quarkus config) which should not happen.
It would be helpful if the framework is able to differentiate between .env folder and .env file and read accordingly.

Expected behavior

It would be helpful if the framework is able to differentiate between .env folder and .env file and read accordingly.

Actual behavior

It is assuming that the .env folder is a file and trying to read it throws an IOException not a file from Quarkus.

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Mandrel or GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.13.3.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions