asagjj opened a new issue #12199: URL: https://github.com/apache/pulsar/issues/12199
Similiar as ISSUE-5650. #### Expected behavior when use bin/pulsar shell, like generate public key or token, we should can excute it in any dirs and specify a relative path. #### Actual behavior If current dir is not $PULSAR_HOME, the relative path specified for bin/pulsar,will not work, throw exception like "file doesn't exist" #### Steps to reproduce 1、cd $PULSAR_HOME/bin; 2、./pulsar tokens create --secret-key ../token_key/my-secret.key --subject pulsar How can we reproduce the issue #### System configuration **Pulsar version**: 2.8.2 Maybe we should remove [change the working directory?](https://github.com/apache/pulsar/blob/master/bin/pulsar#:~:text=support%20relative%20paths-,cd%20%22%24PULSAR_HOME%22,-if%20%5B%20%24COMMAND%20%3D%3D%20%22broker) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
