Giter Site home page Giter Site logo

Comments (4)

ddollar avatar ddollar commented on June 16, 2024 2

If you need to use multiple commands per process, wrap them with sh:

web: sh -c "mkdir -p /foo; /bin/something-else"

from forego.

annismckenzie avatar annismckenzie commented on June 16, 2024

There's two comments on the commit – GitHub seems to not be able to crosslink this automatically.

from forego.

annismckenzie avatar annismckenzie commented on June 16, 2024

Thank you!

from forego.

dcorking avatar dcorking commented on June 16, 2024

The need for this workaround seems to suggest that some foreman Procfiles are now incompatible with forego (in my case it seems to also affect a Procfile that used to work in forego)

For example this works in foreman but fails in forego:

worker2: FOO=bar printenv FOO
$ forego start
forego    | starting worker2.1 on port 5000
worker2.1 | bash: line 0: exec: FOO=bar: not found
$ foreman start
11:36:06 worker2.1 | started with pid 31407
11:36:06 worker2.1 | bar
11:36:06 worker2.1 | exited with code 0
11:36:06 system    | sending SIGTERM to all processes

Is compatibility with foreman an objective of the project? If not I'll update my Procfiles and go on my way.

from forego.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.