-
How to run a script file on Linux ?
Hi
I'm building a setup for Linux, And i need to run a script file after the installation is done.
How do i do that ?
Thanks.
-
Go to sequence view, and include a wizard action in Post Installation list. Select Execute Process action from wizard action list. In properties of Execute Process action, give path of the shell script file in command property. Hope this helps.
-
Running Linux script
Hi,
You could do it by the following in the PostInstallSummaryDialog code. For example:
Runtime.getRuntime().exec("sh directory2script/script.sh"); Make sure to set excutable permissions Runtime.getRuntime().exec("chmod -R 755 directory2script/script.sh");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules