I have a script which links to a process in background. Now i want to run the 2nd script followed by 1st one ( which starts the background process) together.
Also is it possible to add an exit command at the end so that once the 2nd process is complete, the background process should exit automatically.
Example : script1
#!/bin/tcsh # background process & #
once its running
#!/bin/tcsh # matlab <program.m> #
End both the process when script 2 is completed. How??
Thanks in advance