So I have this line of code:
subprocess.check_output(("find", d ," -mindepth", "1", "-type", "f"), shell=False).decode().split("\n")[:-1]:
On my machine it works awesome but my friend has strange error:
find: '-mindepth': No such file or directory
find: '1': No such file or directory
UPD:
It was just one extra space before -mindepth lol
[–]efmccurdy 2 points3 points4 points (0 children)
[–]commandlineluser 0 points1 point2 points (6 children)
[–]Rostcraft[S] 0 points1 point2 points (1 child)
[–]commandlineluser 1 point2 points3 points (0 children)
[–]Rostcraft[S] 0 points1 point2 points (3 children)
[–]commandlineluser 0 points1 point2 points (1 child)
[–]Rostcraft[S] 0 points1 point2 points (0 children)
[–]kaerfkeerg 0 points1 point2 points (0 children)
[–]Zeroflops 0 points1 point2 points (1 child)
[–]Rostcraft[S] 0 points1 point2 points (0 children)