Changeset 50576 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Feb 25, 2014 1:32:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist
r50574 r50576 74 74 /* Embedded scripts are not available here. So, just do a command 75 75 line checking for running VMs instead. */ 76 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E \' V[i]rtualBox.*startvm|VBoxNetDHCP|VBoxNetNAT|VBoxHeadless|VBoxSVC\'');76 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E \'[V]irtualBox.*startvm|[V]BoxNetDHCP|[V]BoxNetNAT|[V]BoxHeadless|[V]BoxSVC\''); 77 77 result = (rcScript != 0); 78 78 system.log("system.run /bin/sh .. returned: " + rcScript + " result=" + result);
Note:
See TracChangeset
for help on using the changeset viewer.