You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/10/12 07:38:21 UTC

[GitHub] [maven-mvnd] gzm55 opened a new issue, #708: exec-maven-plugin (exec:exec) output unexpected prefix for each line of stdout/stderr

gzm55 opened a new issue, #708:
URL: https://github.com/apache/maven-mvnd/issues/708

   ```bash
   $ mvnd -B -Dmvnd.noBuffering=true exec:exec -Dexec.executable=uname
   [INFO] [stdout] Darwin
   
   $ mvnd -B -Dmvnd.noBuffering=true exec:exec -Dexec.executable=java -Dexec.args=-version
   [WARN] [stderr] openjdk version "11.0.2" 2019-01-15
   [WARN] [stderr] OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
   [WARN] [stderr] OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
   
   $ mvn -B -Dmvnd.noBuffering=true exec:exec -Dexec.executable=uname
   Darwin
   ```
   
   It is reproducible on mvnd 0.8.2. The output difference breaks the script to switch to mvnd.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gnodet commented on issue #708: exec-maven-plugin (exec:exec) output unexpected prefix for each line of stdout/stderr

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #708:
URL: https://github.com/apache/maven-mvnd/issues/708#issuecomment-1401908569

   This is also fixed by https://github.com/apache/maven-mvnd/commit/b2bd0aaae5ff8627d6425ede8c1de16e77b5f194


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gzm55 commented on issue #708: exec-maven-plugin (exec:exec) output unexpected prefix for each line of stdout/stderr

Posted by GitBox <gi...@apache.org>.
gzm55 commented on issue #708:
URL: https://github.com/apache/maven-mvnd/issues/708#issuecomment-1280162745

   pr #712 is closed to prefer #719.
   
   There is another behavior difference even with `--raw-streams` switch:
   
   ```
   mvnd -N exec:exec -Dexec.executable=uname --raw-streams -l a.log
   ```
   
   The output of `uname` is written to tty, not a.log, whereas the original `mvn` writes to a.log.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gnodet closed issue #708: exec-maven-plugin (exec:exec) output unexpected prefix for each line of stdout/stderr

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #708: exec-maven-plugin (exec:exec) output unexpected prefix for each line of stdout/stderr
URL: https://github.com/apache/maven-mvnd/issues/708


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gzm55 commented on issue #708: exec-maven-plugin (exec:exec) output unexpected prefix for each line of stdout/stderr

Posted by GitBox <gi...@apache.org>.
gzm55 commented on issue #708:
URL: https://github.com/apache/maven-mvnd/issues/708#issuecomment-1275884433

   with `--raw-streams`, I've got the correct result. Can we add an env/property key for this cli switch?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org