GithubHelp home page GithubHelp logo

meson project script missing about shebang HOT 4 CLOSED

Pertekm avatar Pertekm commented on July 21, 2024
meson project script missing

from shebang.

Comments (4)

Pertekm avatar Pertekm commented on July 21, 2024

Found the file, it was deleted by commit 791e437
why?

from shebang.

Pertekm avatar Pertekm commented on July 21, 2024

I used the deleted meson.build file and could compile shebang.

But i do not know how to use shebang in my case:
I have a script file (named "foreman" in a bin folder) with the content
#!/bin/bash -i bin/update bundle exec foreman start -f Procfile
i would like to execute this script by command "foreman". currently i need to use the command "bash foreman" to execute it under windows.
How to execute it with help of shebang?

from shebang.

matveyt avatar matveyt commented on July 21, 2024

I dropped meson.build, because I don't use it anymore. Also it does not do much here. You can compile simply in the command line, e.g.: gcc -s shebang.c -o shebang -lshlwapi as noted in README.

To use shebang make a symlink (like mklink foreman.exe shebang.exe note: usually needs administrative access), or rename, or copy. For convenience, put the symlink on Windows PATH (no matter which directory).

from shebang.

matveyt avatar matveyt commented on July 21, 2024

meson.build is back. Closing the issue.

from shebang.

Related Issues (2)

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.