Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
4 votes
1 answer
204 views

I'm trying to use Apache Commons Exec to run a git command which uses a regex. When I form my CommandLine and print it out it looks like this: [git, --no-pager, grep, --line-number, --untracked, --...
0 votes
0 answers
110 views

I am trying to install a software with .msi file and it is working fine when I try in the Windows command prompt. But the same is not working in apache commons exec. When I run thru apache commons ...
0 votes
1 answer
105 views

I have a java program that does some preparation and then invokes Jekyll on the content it's prepared. Jekyll is a Ruby program installed on the local PC as a gem. On windows and linux, no problem, ...
0 votes
1 answer
110 views

My goal is to restore a Mysql dump using mysql command. I'm having a clear difference of behaviour between a code using ProcessBuilder and Apache Commons Exec (1.3). This code works perfectly fine ...
0 votes
1 answer
167 views

My plan is to use ByteBuffer with Apache Common Exec to send output from one command as an input to another command. I am able to do this using PipedOutputStream and PipedInputStream and below is the ...
Faisal's user avatar
  • 3,001
1 vote
1 answer
698 views

I am working on fixing a bug that makes our CI/CD pipeline fails. During an integration test, we spin up a local database instance. In order to do this, we are using some mariadb wrappers to launch it ...
user avatar
1 vote
0 answers
777 views

Calling a particular executable (Jadeo) via commons-exec (using pipes for it's I/O) is causing massive CPU usage (over 30x) compared to calling same executable from the terminal. Idle wakeups are huge....
1 vote
3 answers
247 views

I am trying to run rsync from a jar. When the source path has no spaces it all works fine, but when the source path has a space in it, it fails. I have tried various methods for escaping the spaces, ...
1 vote
1 answer
168 views

I am trying to download a file from a site that is protected with a username and password, using Selenium. First, I got the href attribute from the download link: WebElement downloadLinkElement = ...
3 votes
3 answers
2k views

I am trying to solve interaction with command line process using Apache Commons exec. I'm stuck with following code: ByteArrayOutputStream out = new ByteArrayOutputStream(); ByteArrayOutputStream ins ...
2 votes
1 answer
709 views

I am having trouble while running following command using apache commons exec: sysctl -n net.ipv4.neigh.default.gc_thresh3 The problem is it is giving the following error: Exception in thread "main" ...
ojas's user avatar
  • 2,220
3 votes
2 answers
4k views

I am using apache commons exec to run command: arp | wc -l Below is my code: private String runCommand(String cmd, String params) { CommandLine commandLine = new CommandLine(cmd); ...
ojas's user avatar
  • 2,220
1 vote
0 answers
155 views

I'm attempting to launch several batch files in their own windows using the Apache Commons Exec library, and although I'm able to launch them properly, I'm running into one small issue where the ...
1 vote
0 answers
43 views

I am executing testng.xml(having 40 Testcases) from cmd shell using Apache.commons.exec.Executor in java with following code : public static void executeBatch(String folderLoc) throws Exception { ...
0 votes
2 answers
2k views

Although the titles are very similar, this questions is NOT a duplicate of Process output from apache-commons exec. I am trying to get the output of a command by using apache-commons exec. Here is ...
lakshayg's user avatar
  • 2,193

15 30 50 per page
1
2 3 4 5 6

AltStyle によって変換されたページ (->オリジナル) /