Comments (8)
Ah this is strange because when I made the pull request, there was an automatic test on Travis and it didn't fail.
But maybe you changed the Travis setup recently and added more test cases.
I am personally on a Mac running Lion, but I can access a CentOS.
When I have time I will try to check as well.
Does it have anything to do with the other bug?
from shoreman.
It might have to do with the way I made it read files until the last line.
There are many ways to do this and some are probably not as portable as others.
Bash is supposed to work the same on all platforms though.
I will try something and if it is no good, I will remove it until we have something solid.
I feel guilty now because making a change on an open source project which doesn't work on linux is quite suicidal :-)
from shoreman.
No worries! I think this bug was there before your patches got merged in, I only logged them last night so they were out of my brain and in public.
I'm also running a Mac with Mountain Lion, where it works ok. I think it would be worth trying the fix from #6 to see if that makes any difference to this issue.
The reason the travis builds appear to be passing because the script incorrectly exits with 0
.
from shoreman.
OK I'll implement this as soon as possible to see what it does.
from shoreman.
Hello,
I tried on a linux CentOS (redhat) and it worked fine.
And it was not the code I just changed because I tried to checkout on the commit because and the tests pass as well.
I don't have access to a platform with Ubuntu though.
But at least it means it is not linux-specific.
from shoreman.
Mate I have the answer I think !!!
trap is bash specific and in your cibuild, you start the whole thing with the sh
command.
You have a shebang line, but is only taken into account when made executable and used on its own.
The reason why some systems like MacOS or some linux don't break is because on these systems, sh
is bash
.
At least I think it is the problem.
I will try and fix this now.
from shoreman.
Yes the test passes now.
I am a bit puzzled though because we started the test with sh
, but the tests definitely start shoreman with the bash
command.
I don't see why it would make it work differently.
But once again, the ways of the shell are impenetrable.
from shoreman.
Hi Mig, sorry I've been a bit quiet, had a busy week! Great work fixing this issue, can't believe it was something so small causing the problem!
Thanks for all the hard work your doing! ✨
from shoreman.
Related Issues (15)
- Roundup dependency HOT 1
- does not stop running processes on debian stable HOT 2
- Coloring output HOT 2
- Optionally logging each process separately HOT 2
- Starting individual processes HOT 10
- Allow tabs in Procfile HOT 3
- Sending Signals to Child Processes
- Ctrl-C does not kill child processes HOT 4
- Procfile not ending with a line break don't work HOT 3
- Procfile remains open while running shoreman HOT 2
- Add support for multiline strings in .env HOT 2
- does not terminate all others when a single process dies HOT 3
- Randomly failing tests HOT 6
- tab character shows up at '\t' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shoreman.