IDEA-111177 PhpStorm can be run twice on Linux

This commit is contained in:
peter
2013-07-29 14:29:02 +02:00
parent 6a3e265294
commit d56b4faae5
@@ -253,7 +253,7 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
@Override
public void run() {
String currentDirectory = args.isEmpty() ? null : args.get(0);
List<String> realArgs = args.size() <= 1 ? args : args.subList(1, args.size());
List<String> realArgs = args.isEmpty() ? args : args.subList(1, args.size());
final Project project = CommandLineProcessor.processExternalCommandLine(realArgs, currentDirectory);
final JFrame frame;
if (project != null) {