Answer the question
In order to leave comments, you need to log in
How to accept arguments when running a shell script and pass them to a utility?
#!/bin/bash
trim =$1 # как убрать разрешение? . a что если *.ui? как послать вывод ls в массив и весь его обработать?
pyuic5 -x $1 -o $trim'.py' #а тут добавить .py
./build main.ui
pyuic5 -x ARG(main.ui) -o main + .py
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question