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

Create entrypoint to activate environment #25

Closed
vsoch opened this issue Jan 20, 2018 · 1 comment
Closed

Create entrypoint to activate environment #25

vsoch opened this issue Jan 20, 2018 · 1 comment

Comments

@vsoch
Copy link
Owner

vsoch commented Jan 20, 2018

Should be able to:

  1. take app name and source environment, if it exists
  2. run activate function for app.

So we could do

%apprun trace
   scif activate $1
   exec $SCIF_APPRUN
@vsoch
Copy link
Owner Author

vsoch commented Jan 20, 2018

actually, we can just run scif to handle this! Eg:

%appinstall trace
    apt-get install -y strace
%apprun trace
    # check for args here
    exec strace -C -t -o $2 scif run $1

@vsoch vsoch closed this as completed Jan 20, 2018
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