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

Cannot install with go get (solution) #2

Closed
fwal opened this issue Jun 11, 2013 · 5 comments
Closed

Cannot install with go get (solution) #2

fwal opened this issue Jun 11, 2013 · 5 comments

Comments

@fwal
Copy link
Contributor

fwal commented Jun 11, 2013

As you stated in the docs, installing via go get doesn't work because of the reference to ./child.

A solution to this would be to refer to child via an absolute path in the import as I've done in my fork: github.com/theDukeW/gosafe/child

@zond
Copy link
Owner

zond commented Jun 11, 2013

Oh, right.

I havent touched this for a long time...

Give me a pull request and I will merge your solution.

@fwal
Copy link
Contributor Author

fwal commented Jun 11, 2013

Alright, it's done.
Thought I'd give this package a try when experimenting with a plugin architecture for an application. (Or do you have a better suggestion? ;) )

@zond
Copy link
Owner

zond commented Jun 11, 2013

Thanks!

Well, I built it for that purpose, but then my project degenerated into https://github.com/zond/god and I got distracted.

If I were to try again I would probably use https://github.com/robertkrimen/otto I think. However, I wanted to run completely untrusted code and I can't figure out how to protect agains fork bombs :/

@zond zond closed this as completed Jun 11, 2013
@fwal
Copy link
Contributor Author

fwal commented Jun 11, 2013

Cool. I'll check out otto but right now gosafe fits the bill, I'll play around and try to sandbox the child processes. :)

@zond
Copy link
Owner

zond commented Jun 11, 2013

Nice :) Tell me how it goes, and note #1

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

2 participants