Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run bash from styrene package #21

Open
pekof opened this issue Feb 13, 2018 · 2 comments
Open

unable to run bash from styrene package #21

pekof opened this issue Feb 13, 2018 · 2 comments

Comments

@pekof
Copy link

pekof commented Feb 13, 2018

I'm building minimal environment to run rsync (including ssh & sshd).
When I run bash it returns immediately with errorlevel 1536.
I can run .sh files with bash but no just bash.

Here is my styrene .cfg file
rsync-env.txt

@achadwick
Copy link
Owner

achadwick commented Feb 13, 2018

I don't have the time to experiment with this really, and I don't have the foggiest idea of what errorlevel 1536 is (yay, Windows!), but there are a couple of obvious questions that whoever looks at this will need to know:

  • Have you tried with nodelete=*? If it works with the full-fat edition of your bundle and not with your stripped down version, you need to be [EDIT: reconsidering the things you delete]
  • How's it get launched? Just out of interest.
  • When do you see the bash issue?
  • Have you been able to get what you want done with a full MSYS2 install and the packages you want?
  • Is the Cygwin-ish usr/bin/sh.exe actually bash in another hat, or does bash.exe need to be kept from deletion too?

Styrene is was made for interactive graphical apps with launchers (and super-lazy developers like me; the poster child is MyPaint after all 😁). But it's interesting that people are using it for other things.

@pekof
Copy link
Author

pekof commented Feb 14, 2018

Thank you for response.

  • With nodelete=* it works, thank you again.
  • It's started from command line
  • When I run bash somescript.sh it works, but just bash ends immediately
  • :) that it kind of main feature of MSYS2 in man POV
  • sh.exe and bash.exe are same and I keep them in this config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants