문제

I have an extremely long command line given to ar (android ar exactly) by bjam, and ar just corrupts a file path and complains that file does not exist.

Is there a way to make ar allocate a bigger command line buffer ?

도움이 되었습니까?

해결책

Not sure about the Android version but many ar implementations (and indeed many other commands) allow you to put all your arguments into a file (say xyz.opt) and then use something like ar @xyz.opt to do the grunt work.

That works because the limitation tends to be not so much on the program itself but often on the shell constructing the argument list. By placing the arguments into a file, you can effectively get around that limitation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top