You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash
TEST_CONSOLE_PROC=$(aos --new --echo) # <- Returns only the new process ID -- maybe if we add a --quiet flag
TEST_TOKEN_PROC=$(aos --new --echo --load-blueprint token --eval 'Balances = {$TEST_CONSOLE_PROC=1000}')
TEST_APP_PROC=$(aos --new --echo --load app.lua --eval 'Token = $TEST_TOKEN_PROC')
aos $TEST_CONSOLE_PROC --eval 'Token = $TEST_TOKEN_PROC; App = $TEST_APP_PROC'
This introduces three new flags
--new - launch new process with no name
--echo - return output for scripting if new, returns processId
--eval - with evaluate string and if --echo return result to console in no echo show result in console
The text was updated successfully, but these errors were encountered:
This introduces three new flags
--new - launch new process with no name
--echo - return output for scripting if new, returns processId
--eval - with evaluate string and if --echo return result to console in no echo show result in console
The text was updated successfully, but these errors were encountered: