Skip to content

The logs command doesn't recognize slashes in script path. It should.#786

Open
dirksen wants to merge 1 commit intoforeversd:masterfrom
dirksen:master
Open

The logs command doesn't recognize slashes in script path. It should.#786
dirksen wants to merge 1 commit intoforeversd:masterfrom
dirksen:master

Conversation

@dirksen
Copy link

@dirksen dirksen commented Dec 24, 2015

I often start my node servers using absolute path, like:

forever start /var/www/foo/bar/app.js

But the logs command doesn't recognize slashes in the script path, and this fails:

forever logs /var/www/foo/bar/app.js

This patch should fix this problem

@kibertoad
Copy link
Contributor

Thank you for your contribution! Could you please add tests for this change that would ensure original use-cases still work the same way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants