Nataniel Borges Jr. created EXEC-108:
----------------------------------------
Summary: Compatibility problem with Android ADB
Key: EXEC-108
URL: https://issues.apache.org/jira/browse/EXEC-108
Project: Commons Exec
Issue Type: Bug
Affects Versions: 1.3
Reporter: Nataniel Borges Jr.
When using Apache Exec to execute the following Android ADB logcat command:
adb logcat -d -v threadtime -v year -s System.out -t '2018-09-18 11:15:40.446'
it triggers the following error:
-t "2018-09-18 11:15:40.446" not in time format.
When executing the same command on terminal it works normally.
The code uses a DefaultExecutor and the Command line is created through the
CommandLine.parse function.
Environment:
Mac OS X 10.13.6
Java 1.8.0_131
Running source code with the problem (requires an Android device or emulator to
be executed):
https://github.com/natanieljr/apache-exec-test
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)