Git Product home page Git Product logo

Comments (7)

 avatar commented on July 2, 2024

@shawnbon206 Were you able to figure something out?

from bass.

zaclimon avatar zaclimon commented on July 2, 2024

If somebody is interested I've made a bash script in which it is possible to compile Android with Fish.

Here's the link:

https://github.com/zaclimon/Personnal-Stuff/blob/master/scripts/apbs

Don't hesitate if you have some potential ideas for it.

from bass.

 avatar commented on July 2, 2024

@zaclimon Looks terrific! Good job :)

from bass.

mnewt avatar mnewt commented on July 2, 2024

I run bash scripts that prompt for information. One example is when I log in, I have a script (sourced using bass) that starts ssh-agent and runs ssh-add. ssh-add prompts for my password. The script prints out during execution and prompts successfully. Everything works great in this scenario.

This seems to indicate that bass does work with interactive utilities. Was functionality added or is that not what you're referring to?

from bass.

zaclimon avatar zaclimon commented on July 2, 2024

It does work with some utilities as your case doesn't show any problems.

However, the Android build script (envsetup.sh) is kinda a sneaky one. I don't know how to say it as I might be wrong in terminologies but from what I see, it does depend on some Bash specific stuff in order to work. (It also has some difficulties with other shells like zsh if I remember correctly)

In this regard, it is not something that native Fish nor Bass can do yet. (Which is the reason I made the script specified above)

from bass.

shawnbon206 avatar shawnbon206 commented on July 2, 2024

I closed this issue, zaclimon ported the build script and I'm not using bass anymore. But this issue was mentioned in the bass README.md so someone may want to reopen it later if they come up with a more constructive example of this issue.

from bass.

edc avatar edc commented on July 2, 2024

I've updated the README to make it clearer that Bass may or may not work with interactive utilities. It depends on how the utility is written. Typically if the utility writes its prompt to stderr, it should work; if it writes to stdout, the prompt is eaten by Bass and it will be weird.

from bass.

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.