def start_minions(self):
        self.prep_configs()
        for path in self.confs:
            cmd = 'salt-minion -c {0} --pid-file {1}'.format(
                    path,
                    '{0}.pid'.format(path)
                    )
            if self.opts['foreground']:
                cmd += ' -l debug &'
            else:
                cmd += ' -d &'
            subprocess.call(cmd, shell=True)
Iterate over the config files and start up the minions
dataset/ETHPy150Open saltstack/salt/tests/minionswarm.py/MinionSwarm.start_minions