Prepare the environment for a sub-process and launch it:
-
Inject the secrets from:
- AWS secret manager
- Azure key vault
-
Set max open file limit.
go run github.com/flashbots/launcher/cmd \
--aws-secret-arn test \
bash -c 'echo "${_ANSWER} is the answer to ${_QUESTION}"'
42 is the answer to The Ultimate Question of Life, the Universe, and Everything
Also:
go run github.com/flashbots/launcher/cmd \
--ulimit-soft 1024 \
--ulimit-hard 4096 \
bash -c "ulimit -Sn; ulimit -Hn"
1024
4096