Changeset 49956 in vbox for trunk/src/VBox/Installer/darwin
- Timestamp:
- Dec 17, 2013 2:57:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist
r48928 r49956 56 56 /* Embedded scripts are not available here. So, just do a command 57 57 line checking for running VMs instead. */ 58 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBox VM.*startvm|VBoxNetDHCP|VBoxNetNAT" | /usr/bin/grep -qv grep');58 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBox.*startvm|VBoxNetDHCP|VBoxNetNAT|VBoxHeadless|VBoxSVC" | /usr/bin/grep -qv grep'); 59 59 result = (rcScript != 0); 60 60 system.log("system.run /bin/sh .. returned: " + rcScript + " result=" + result);
Note:
See TracChangeset
for help on using the changeset viewer.