Hallo klayout-team and co.,
I use Klayout 0.21.12 with Windows 7 32 Bit and I don't get any message on the command line.
Also klayout.exe -h doesn't run. Is this problem when using windows a known one?
On unix everything works fine.
with best regards dev_2011
Comments
Hi,
klayout.exe is compiled as a Windows application, not as console application. I guess that is why there is no output.
Instead, you can use the log viewer (File/Log Viewer) to look at the output. The output is basically mirrored there. "klayout -h" is not available there which I admit is an undesired side effect.
Here is the output of klayout -h:
Best regards,
Matthias
Hi Matthias,
I am trying to understand/debug some behaviour when I start KLayout on the command line using the
-zz
option for batch-processing. This is the command:Here are my observations:
make
utility (i.e. a Makefile), the call blocks until finished but also returns an error status code 1, but without any indication what went wrong.make
utility but without the-zz
option, KLayout's main window shows up while the script is executing and it finishes with status code 0 (success).Now I do like the part where the call waits until the command completed, but I don't understand the difference in the error status when running with/without
-zz
. Also, in both cases, the script seems to actually complete successfully, thefixed.gds
file is created and looks ok.Is there any way to run KLayout using the
-zz
option and looking at thestdout
orstderr
output of the program? That would actually be helpful for debugging scripts as well.Kind regards,
Chris
Hi Chris,
Windows is entirely different from Linux - on Windows, a program needs to be compiled as a console application in order to show stdout or stderr on the screen. Being a GUI application, KLayout isn't. Which explains the behaviour.
You'll need a special executable to do the kind of thing you want. Or move to Linux.
Matthias