Answer the question
In order to leave comments, you need to log in
Scripts only work with sh from console, why?
For example, WebStorm, gave the right to launch, a double click starts and closes immediately, there is no error.
I open the terminal, I write sh WebStorm/bin/webstorm.sh everything is fine!
The same goes for many scripts.
Answer the question
In order to leave comments, you need to log in
Most likely a problem with environment variables.
Storm does not know where libraries or binaries are located.
Type:
#!/usr/bin/bash
PATH=$PATH:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin;
export PATH;
LANG=ru_RU.UTF-8;
exportLANG;
LC_ALL=ru_RU.UTF-8;
export LC_ALL;
And who told you that scripts don't work?
If there is no output, this does not mean that it does not work. It's easy to check, create a script that will do, for example
And run it from the gui. Business,
Well, if not, insert logger into scripts, and look at what swears.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question