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

exec with variables as arguments should still work #26

Open
nfischer opened this issue Aug 25, 2016 · 0 comments
Open

exec with variables as arguments should still work #26

nfischer opened this issue Aug 25, 2016 · 0 comments

Comments

@nfischer
Copy link
Owner

Related to #23, CC @mikeerickson

The translator currently doesn't properly handle exec commands that expand variables. Something like:

branchName=master
git checkout $branchName
printf $PATH

should translate into:

var branchName = master
exec('git checkout ' + branchName);
exec('printf ' + env.PATH); // or exec('printf $PATH');
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

1 participant