Skip to content

Forever changes current working directory when script path is absolute #270

Open
@boutell

Description

@boutell

If I use:

forever start /opt/stagecoach/apps/example/deployments/2012-04-23-09-46-19/server.js

The current working directory is changed to / by forever before the script is run (verified with process.cwd()).

If I use:

forever start server.js

I do not see this problem, the current working directory is left alone.

I am not sure if the --sourceDir option is meant to help with this, but it does not appear to.

Thanks for an excellent process babysitter!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions