I try to run a script with nohup, but the command executes a whole line of parameters with the variable $ *. I am trying to run a command as follows:
nohup time ./build_all all &
But this gives me the following error in nohup.out:
./build_all: DISPLAY=ted:0.0: is not an identifier
Any help was appreciated.
Ted
==================================================== ==================================
I understand that Peter John Aklam was right. The error is not due to nohup, but because of the script, I am not sure what I am doing wrong, because the syntax seems to me to be correct. Itβs also strange that when I run the script on its own, I donβt see an error, but when I try to run with nohup, I see a strange error.
In any case, the start of the script looks like this:
#!/bin/bash export DISPLAY=ted:0.0
source share