Recent

Author Topic: Run script.sh in background  (Read 391 times)

AlexandroSantos

  • Newbie
  • Posts: 2
Run script.sh in background
« on: May 07, 2020, 12:32:10 am »
Hi guys!

I need to run, in linux (for exemple UBUNTU) , a script.sh in the background.
Does anyone have an idea for this?

Thank you all.

jamie

  • Hero Member
  • *****
  • Posts: 3522
Re: Run script.sh in background
« Reply #1 on: May 07, 2020, 04:01:35 am »
Lookup TProcess
That will allow you to start your task and with correct options have it do it stuff in the background so it does not hold up your current task, in other words don't use [WAIT]
and you may also need to Detach_Process  it also..
The only true wisdom is knowing you know nothing

AlexandroSantos

  • Newbie
  • Posts: 2
Re: Run script.sh in background
« Reply #2 on: May 08, 2020, 06:36:29 pm »
Hi,

Yes, great, thanks.

 

TinyPortal © 2005-2018