Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't called by start-process correctly #1199
Author Name: yun he
Original Assignee: yun he
At first, thx for your hard work on Verilator. And I want to use the verilator as a syntax check tool in flycheck, but it can't work correctly. And at last, I found that when the emacs function start-process try to run verilator as a process，it always return a error message "Exec format error", but start-process-shell-command can work. And the I rewrote the check as blow:
Is there any advice to fix this up?
Original Redmine Comment
That it works under one method but not the other means this must be something related to your computer's use of emacs or shell and is not an issue with verilator itself.
I see a bunch of hints if you google that error (which suggest you might be using cygwin?), e.g. https://www.google.com/search?q=start-process+exec+format+error&oq=emacs+start-process+exec+format+error
If that doesn't help, try calling instead an e.g. shell script instead which has a printenv at the top and probably that will help track down the issue.
Let us know what you turn up.