Artificial intelligent assistant

execute commands as parameters in a login shell We started using a new integration and production pipeline called GO. To execute a bash script there, the convenient way is to use the bash command instead of executing the script directly. For that the bash is called in a login shell, so the command I'm trying to execute the following: bash -l run_tests `cat myserver.url`:8080 bash -l run_tests $(cat myserver.url):8080 But the whole `cat myserver.url` is passed as a string instead of being executed. Any ideas?

I wrote a little test script


$ cat run_tests
echo "$@"
echo $0 Starting tests with $1
echo tests done


and ran following, (note quotes around -c "string")


$ bash -l -c "./run_tests $(cat furl):8080"

./run_tests Starting tests with
tests done

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 0499375e83746b8857d38f1a14e4f711