Changeset 47894 in vbox for trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist
- Timestamp:
- Aug 20, 2013 11:37:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist
r47880 r47894 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 "VirtualBoxVM.*startvm|VBoxNetDHCP|VBoxNet LwipNAT" | /usr/bin/grep -qv grep');58 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBoxVM.*startvm|VBoxNetDHCP|VBoxNetNAT" | /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.