To run a script and then return control to the fscript prompt, use the interactive option (‑i):
# fscript -m util/formula -i Enter web server host [reason] : Enter web server port [80] : Enter your Formula(r) account userid : admin Enter your Formula(r) account password : formula js> list( formula.Administration['formulaServer=Server'].properties ) [object Object]: Object Heap Used Memory (KB) Adapters Auditable Formula Server Start Timestamp Condition Algorithm Total Alarms Formula Server Has Been Up For Element Object Heap Free Memory (KB) Algorithm Parameters Total Element Classes Object Heap Allocated Memory (KB) Last Reported Sessions Total Elements js>