Comments (4)
I did some investigation, and this is an issue with make
. The page at https://www.cmcrossroads.com/article/gnu-make-meets-file-names-spaces-them has some workarounds, but none of them are great (IMHO). Plus the next Makefile
in your project will probably fail when this one is fixed.
I'm not sure how any Elixir project Makefile
works with spaces in the path unless it either builds in the source directory (so no absolute paths needed) or uses realpath
to convert MIX_APP_PATH
to a relative path that doesn't have spaces. Building in the source directory is a non-starter with Nerves. Using realpath
and passing around relative paths might not work on all systems since not everyone has realpath
. Using relative paths seems tedious.
I'm closing this since I don't see it being fixed. If you have a suggestion, please send a PR.
from muontrap.
I'm fine with the resolution. I'm just wondering if mountrap might be able to check for that and raise a more descriptive error message / log a warning? I'm not sure people will do the link of having a truncated path printed with their space in path as quickly as I seem to have.
from muontrap.
To add a bit more context, why I'm worried about that: I've published minio_server a few days ago, which uses muontrap being not really nerves related, and it might be tricky if one isn't explicitly aware of muontrap in the first place.
from muontrap.
Could you make a PR or send a PR to elixir_make
? IMHO, adding the check to elixir_make
would be better since checking if the MIX_APP_PATH
(or any of the paths that Elixir passes to make) have a space in them seems easy there, and this affects all projects using make
.
from muontrap.
Related Issues (13)
- Attempt to convert args to binaries HOT 3
- Windows support. HOT 4
- Delay to sigkill HOT 2
- Establishing/Supervising Communications With a Long-Running, Data Streaming Python Process HOT 3
- Muontrap.Daemon Proposal HOT 8
- Escript Troubles HOT 8
- Log stderr when running a daemon
- No Works with Nerves HOT 3
- cgroup support no longer working on Linux 5.15
- Compiler error on Ubuntu 20.04
- Add test to verify killing chatty processes
- Support new/updated logger levels
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 muontrap.