-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cbuild] It is unclear what cbuild --log
does (clarified)
#1042
Comments
You should give the full name for the log file not only the directory, for example:
|
It is perfectly valid to specify a log filename without extension, however in the above example It seems that if you specify a directory that does not exist ( |
cbuild --log
doescbuild --log
does (clarified)
or
In my opinion, The behavior should be in line with the redirect > operator. Which redirects all this output to a file and throws an
or
ProposalI would propose to have a behavior the same as the
|
@ReinhardKeil @jkrech |
a) throwing an error and stopping the execution is the right approach in case the log file cannot be written (e.g. also due to lack of access permission) |
In reference to the point
but with |
Addressing: Open-CMSIS-Pack/devtools#1042 - If the path doesn't exist, create a log file path - Throws an error, when unable to create a directory or file - Stop the execution in case of an error
I was using this command with
csolution-examples
but did not see any additional log file that is created.Could someone explain?
The text was updated successfully, but these errors were encountered: