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

Question: Why do you have to use cTypes to run bash -c? #79

Open
Noitidart opened this issue Sep 12, 2014 · 0 comments
Open

Question: Why do you have to use cTypes to run bash -c? #79

Noitidart opened this issue Sep 12, 2014 · 0 comments

Comments

@Noitidart
Copy link

Why do you have to use js-ctypes to run /bin/bash with argument -c? Can't you just use nsIProcess? And use > redirector to write it to file and then read file?

File stuff with OS.File is very async.

I attempted to do it here: GitHub - GIST :: Noitidart / _ff-addon-snippet-X11_bash.js

But it doesn't work I don't know why.

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

No branches or pull requests

1 participant