expansivemango
Member
- Joined
- Jun 3, 2015
- Messages
- 6
- Programming Experience
- Beginner
I have a script that will recursively search a folder and for every model and texture map it finds, another script will be executed to convert this file from one format to another. I'm using the processStartInfo class to launch this other program and passing through parameters from my recursive script. I thought it was working ok, but in testing (many different scenarios), I'm finding that it's now consistently getting hung up.
Is this a bad idea to call other programs through a recursive function? Each time I run my script it executes 2-3 instances of the processStartInfo without actually completing it once, then just hangs and never processes the conversion.
Is this a bad idea to call other programs through a recursive function? Each time I run my script it executes 2-3 instances of the processStartInfo without actually completing it once, then just hangs and never processes the conversion.
Last edited: