News for hackers. Stuff that matters.
Re:Fix the unit test and open a giant hole everywhere by Noe2097 on Saturday December 25, 2021 @05:09AM (#29681955)
Hmmm. In Python, I would leverage the dedicated utility of the standard library:

  os.makedirs(path)
Re:Fix the unit test and open a giant hole everywhere by theptip on Saturday December 25, 2021 @03:10PM (#29686524)
Yes, agreed. I was using Python code to more explicitly illustrate the subprocess vs shell distinction in the general case, not to provide a solution to the specific problem of making a directory.