Y
Hacker News
new
|
ask
|
show
|
jobs
by
geofft
3431 days ago
Yes. Wrap the entire script in a function and call the function at the end once the whole thing has transferred.
https://install.sandstorm.io/
, for instance, does this.