1 vote

time nohup ./script --> the time hasn't been logged

In your second attempt you measure the execution time of nohup command itself. So to get the build time you should put time after nohup: nohup time ./mach build >my_log.log 2>&1 & Also ...
Romeo Ninov's user avatar
  • 4,442

Only top scored, non community-wiki answers of a minimum length are eligible