shell mkdir with subdirectories

I’m trying to create a directory with subdirectories using

shell mkdir -p ./dir/subdir

It seems lammps only creates a directory -p instead of treating it like an option.

Is there a way to do this in lammps?

Regards,
Luis Costa

I’m trying to create a directory with subdirectories using

shell mkdir -p ./dir/subdir

It seems lammps only creates a directory -p instead of treating it like an option.

Is there a way to do this in lammps?

please try:

shell “/bin/sh -c ‘mkdir -p dir/subdir’”

axel