When running the `jar` file using `java -jar my_app_name.jar`, the `$PROGRAM_NAME` is set to `<script>` instead of the main file name. I opened a ticket in Thor with more details https://github.com/erikhuda/thor/issues/742.
When running the
jarfile usingjava -jar my_app_name.jar, the$PROGRAM_NAMEis set to<script>instead of the main file name.I opened a ticket in Thor with more details rails/thor#742.