-
Notifications
You must be signed in to change notification settings - Fork 6
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
changes for Linux #59
Conversation
On macOS something goes wrong:
I think the file to look for is not |
Hallo Joachim,
im Prinzip ist der Kommentar noch richtig. Aber nur für den os.FindProcess-Aufruf. Für Linux und vermutlich auch macOS folgt dann noch ein proc.Signal(syscall.Signal(0)), der sicher feststellt, ob der Prozess noch da ist. Der FindProcess liefert unter Linux nämlich immer ein nil als Error.
Viele Grüße, -- Bernd.
Von: Joachim Krech ***@***.***>
Gesendet: Freitag, 21. Juni 2024 07:05
An: Open-CMSIS-Pack/generator-bridge ***@***.***>
Cc: Bernd-Gunter Nitzler ***@***.***>; Author ***@***.***>
Betreff: Re: [Open-CMSIS-Pack/generator-bridge] changes for Linux (PR #59)
@jkrech commented on this pull request.
________________________________
In internal/stm32CubeMX/stm32CubeMX.go<#59 (comment)>:
@@ -135,6 +151,10 @@ func Process(cbuildYmlPath, outPath, cubeMxPath string, runCubeMx bool, pid int)
for {
proc, err := os.FindProcess(pid) // this only works for windows as it is now
Is this comment true? How does it work on Linux and macOS then?
—
Reply to this email directly, view it on GitHub<#59 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWCKMYDA7JQABTM74JPV2SDZIOYA3AVCNFSM6AAAAABJUH3PMCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCMZRG44DOMRZGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
|
a) MacOS launching with ioc file present, launches STM32CubeMX and cbridge daemon
|
a) finally 👍 |
reduced ioc change count to at least 2
…or .ioc and .mxproject
minor renamings
Code Climate has analyzed commit 7a5341a and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 1.4% (35% is the threshold). This pull request will bring the total coverage in the repository to 37.3% (-0.9% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.