-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
The current way to allow redirection of stdout or stderr to a file is by running a shell command through cmd.exe and shell stream redirection.
For example, >output.log or 2>&1.
This is more of a workaround than an actual implementation.
An actual properly implemented feature would be more convenient and prevent many action to rely on cmd.exe shell stream redirection.
Describe the solution you'd like
The <exec> action could be enhanced with the following attribute:
<exec path="cmd.exe" wait="true" arguments="/k "ffmpeg -version""
stdout="${selection.path}.output.log"
stderr="${selection.path}.err.log"/>and to redirect stderr to stdout, you could do:
<exec path="cmd.exe" wait="true" arguments="/k "ffmpeg -version""
stdout="${selection.path}.output.log"
stderr="2>&1"/>Describe alternatives you've considered
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request