James Hawkins truiken@gmail.com writes:
- /* try to detect arts */
- argv_new[2] = "ps awx|grep artsd|grep -v grep|grep artsd > /dev/null";
- if(!spawnvp(_P_WAIT, "/bin/sh", argv_new))
- {
driversFound[numFound] = "winearts.drv";
name[numFound] = "aRts";
numFound++;
- }
This code does not belong in winmm. Autodetection in winmm should be done by having the drivers themselves fail to load if the corresponding support is missing.