开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜