[ 
https://issues.apache.org/jira/browse/SCM-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960476#comment-17960476
 ] 

ASF GitHub Bot commented on SCM-209:
------------------------------------

jira-importer commented on issue #413:
URL: https://github.com/apache/maven-scm/issues/413#issuecomment-2964592605

   **[Mike 
Perham](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mperham)** 
commented
   
   I can't make this change easily as it breaks pretty much every test.  Please 
submit a patch with everything fixed, if possible.  Otherwise this will have to 
wait until the big refactoring I have planned for next month.
   




> Specifying working directory for Runtime.exec() on linux has no effect
> ----------------------------------------------------------------------
>
>                 Key: SCM-209
>                 URL: https://issues.apache.org/jira/browse/SCM-209
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-perforce
>    Affects Versions: 1.0-beta-3
>            Reporter: John Didion
>            Assignee: Patrick Schneider
>            Priority: Major
>             Fix For: 1.0
>
>
> Passing the working directory as an argument to Runtime.exec seems to have no 
> effect on linux...perforce still goes with whatever the VM's initial working 
> directory was. You need to set -d to make it use the correct one.
> In PerforceScmProvider.createP4Command():
> command.createArgument().setValue("-d");
> command.createArgument().setValue(workingDir.getAbsolutePath());



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to