in reply to Re^2: How to call Linux command sequentially
in thread How to call Linux command sequentially
As Utilitarian said, it would help if you show your code, and also show the specific error message(s) or other evidence you have that shows exactly what "not working" really means.
And really, if it's just a matter of making it easier to run two processes in sequence without having to wait, using perl for that is overkill. If you just save the two command lines (or a single conjoined command line as suggested in my first reply) as a plain text file, you can "run" that file as a shell script:
orsource my_shell_script
(note the line-initial period).. my_shell_script
|
|---|