开发者

two same line batch-file - only one line is woking

开发者 https://www.devze.com 2023-03-07 20:52 出处:网络
Every line is working by itself. But only first line is working if they are in the same file. pyuic4 C:\\file1.ui -o C:\\file1.py

Every line is working by itself. But only first line is working if they are in the same file.

pyuic4 C:\file1.ui -o C:\file1.py
pyuic4 C:\file2.ui -o C:\file2.py

What开发者_StackOverflow社区 is wrong?

It is Windows.

And pause did not working in this file. It just end after first line (but it is executed right)


Psychic debugging: pyuic is a batch file.

Use

call pyuic4 C:\file1.ui -o C:\file1.py
call pyuic4 C:\file2.ui -o C:\file2.py

instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消