|
|
|
The arguments to exec are parsed using a StringTokenizer using " " so the command is being split.
This should fix the issue:
/*
package org.jetbrains.idea.perforce.actions; import com.intellij.openapi.actionSystem.AnAction; import java.io.IOException; /**
public void actionPerformed(AnActionEvent e) { //create the command FStat fStat = null; command.append("\""); cmd.add(command.toString()); try {
Runtime.getRuntime().exec(cmd.toArray(new String[cmd.size()]), EnvironmentUtil.getEnvironment());
} @NonNls @Override Can you re-open this issue. The command.append("\""); needs to be removed. Problem with copying code from one class to another. It adds an extra " to the end which it doesn't like.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In version, 723x, you had fixed the p4v support (but only for a few
updates). In the latest, it doesn't work (but it does fail correctly if
the path is not set. Is there a way for me to see the commands that it
is executing to try to debug the issue. There is nothing in the idea.log
(was tailing it) and their is nothing specific in the p4.output file.
The p4 integration works great until you need to look at the revision
graph and it needs to start the external p4v client. None of our idea
users here can get it to work. I had filed a bug early in the EA process
and it was fixed (version 7234 maybe??). I tested and it worked. Shortly
thereafter, it stopped working. I was trying to find out how the call is
being made to start the external p4v client so I can trey to debug why
it is not starting (idea thinks it was started successfully). I tested
by using an incorrect path and idea reported errors in a dialogue.