Giter Site home page Giter Site logo

Comments (7)

ddollar avatar ddollar commented on June 25, 2024

Does ${PWD} contain a space?

from forego.

bartmeuris avatar bartmeuris commented on June 25, 2024

No it does not - the example above was in tested in /home/vagrant

from forego.

tehbilly avatar tehbilly commented on June 25, 2024

Question, what platform are you trying this on? I wasn't able to duplicate this on my Arch box or my Windows machine.

That's not entirely true, I was able to replicate it on Windows inside of cygwin, but nowhere else.

from forego.

bartmeuris avatar bartmeuris commented on June 25, 2024

I tested this in Ubuntu 14.04 in Vagrant (and in an Ubuntu 14.04 Docker container where I first encountered the problem, and was able to replicate it in a VM). Note that I also tried typing out the complete path (so it's not the ${PWD} substitution)

from forego.

jmervine avatar jmervine commented on June 25, 2024

Mind including the output for the following commands:

  1. echo $PWD
  2. pwd
  3. echo "forego start -f ProcFile.test -e ${PWD}/testenv" << redundant, but still

Also try: forego start -f ProcFile.test -e /home/vagrant/testenv (per your comments above).

from forego.

paulmelnikow avatar paulmelnikow commented on June 25, 2024

I can reproduce this on Mac OS X Yosemite 10.10.5.

Works (i.e. spits out the ADMIN keys I expect):

forego run -e .env env | grep ADMIN
forego run -e ./.env env | grep ADMIN

Doesn't work:

forego run -e ~/.code/core/.env env | grep ADMIN
forego run -e /Users/pnm/code/core/.env env | grep ADMIN
$ echo "$PWD"
/Users/pnm/code/core
$ pwd
/Users/pnm/code/core
$ forego run -e ${PWD}/.env env | grep ADMIN
$ forego run -e /Users/pnm/code/core/.env env | grep ADMIN

from forego.

paulmelnikow avatar paulmelnikow commented on June 25, 2024

Ah, this works for me in 4eaf541, can you push a release?

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.