Skip to content

Having some issues running a simple wrapper script for mounting/unmounting a device #409

Closed Answered by Ph0enixKM
DJMoffinz asked this question in Q&A
Discussion options

You must be logged in to vote

If you're running this script like so:

amber script.ab ~/iphone

Then what the compiler does - it will compile script.ab to a file ~/iphone. If you want to run it with an argument, then as of right now you have to compile and then run it with arguments. This will be fixed in the future!

amber script.ab script.sh
./script.sh ~/iphone

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DJMoffinz
Comment options

Answer selected by DJMoffinz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants