Open QnA GUI as root - Mac OS X
Log In or Register to download the BES file, and more.

0 Votes

Description

<enter a description of the task here>

Property Details

ID20469
StatusAlpha - Code that was just developed
TitleOpen QnA GUI as root - Mac OS X
DomainBESC
SourceInternal
Source Release Date5/6/2016 12:00:00 AM
Is TaskTrue
Added by on 5/6/2016 4:53:28 PM
Last Modified by on 5/6/2016 4:53:28 PM
Counters 3725 Views / 77 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 227 fixlets and 100 analyses   * Results in a true/false
Show indented relevance
mac of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists files "QnA GUI" of folders "Contents/MacOS" of folders "QnA GUI.app" of (it; folders "Utilities" of it; folders "Documents/code/QnAGUI/Releases" of folders of folders "/Users") of folders "/Applications"

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
parameter "PathnameQnAgui" = "{ (tuple string item 0 of it | it) of concatenations "," of pathnames of files "QnA GUI" of folders "Contents/MacOS" of folders "QnA GUI.app" of (it; folders "Utilities" of it; folders "Documents/code/QnAGUI/Releases" of folders of folders "/Users") of folders "/Applications" }"

// Options that didn't work, or didn't work the way I wanted:
// run open "{parameter "PathnameQnAgui"}"
// run open -a QnA\ GUI
// run osascript -e 'tell application "QnA GUI" to activate'

delete __createfile

createfile until END_OF_FILE
#!/bin/sh
open -a "{parameter "PathnameQnAgui"}"
END_OF_FILE

delete _open_QnA.sh
copy __createfile _open_QnA.sh

wait chmod u+x _open_QnA.sh

run ./_open_QnA.sh
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
https://forum.bigfix.com/t/plural-relevance-issue-on-macos/19510
jgstew -
https://github.com/rustymyers/QnAGUI/issues/3
jgstew -
This might not actually be working correctly.