do 'run hk_xec.script "home" "hmhk.script"' in terminal
do 'kill hmhk.script'
receives 'No such script is running. Nothing to kill'
do 'tail hmhk.script'
tail command generates tail window
also, 'running scripts' tab shows hmhk.script running on 'home'
]
I would expect that the kill and tail command would have the same level of access in terms of the running scripts but this result would suggest otherwise
You need to specify the args passed to the script to the kill command. Otherwise, it would not be able to differentiate between two instance of hmhk.script.
bitburnerSave_1665667714_BN1x1.txt
[ Script 1: hk_xec.script
--var server = args[0]; --var script = args[1]; --var serverRAM = getServerMaxRam(server) - getServerUsedRam(server); --var scriptRAM = getScriptRam(script); --var threads = serverRAM / scriptRAM;
--exec(script, server, threads, server);
Script 2: hmhk.script
--while(true) { -- hack("home"); --}
]
[
I would expect that the kill and tail command would have the same level of access in terms of the running scripts but this result would suggest otherwise