09-16-2002
launching OSX apps in UNIX
How do you launch an OSX app in UNIX?
-Mad
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I noticed that SUN is selling the Blade 100 workstation for < 1000. I am considering buying one with a high end graphics card for 3D animation/graphics (and also some java development). I am wondering if any relatively inexpensive graphics applications exist for Unix/Solaris machines. Anybody... (4 Replies)
Discussion started by: eqpfunk
4 Replies
2. UNIX for Dummies Questions & Answers
To anyone that has the answer:
What does UNIX have that Mac OSX doesn't. I am a programmer, and I am wondering if I could just get Mac OSX for my programming needs instead of UNIX. But my major question is what does UNIX have that Mac OSX doesn't. Thank you if you have the answer, and are willing... (2 Replies)
Discussion started by: REM
2 Replies
3. UNIX for Dummies Questions & Answers
I am a Macintosh using OS 10.2 which has Unix underpinnings. When entering console mode (the root system where unix takes over) I get the following message -
bootstrap_look_up () failed (ipc/send) invalid destination port
I always used to get a localhost# prompt (and then can use unix... (1 Reply)
Discussion started by: ngilman
1 Replies
4. OS X (Apple)
More of an OSX issue.
I have a file name on my desktop of a previous file I had delete.
Everytime I click on it, it dissapears, only to re-appear if I reboot/open cert apps/or save another file type like it to the desktop. The thing is, it's just the name of the file including extension. The... (8 Replies)
Discussion started by: cambridgedj
8 Replies
5. UNIX for Dummies Questions & Answers
I know its a stupid question... but i cant find anyone that will host on linux for the prices i want. I want to host a game server (2 Replies)
Discussion started by: sLaeYa^^
2 Replies
6. Filesystems, Disks and Memory
I've got this problem. My computers and external hard drives are converting many of my files to a Unix Executable File which has a grey terminal looking icon. I don't understand what is causing this to happen. It is happening to a large number of my image file of different formats and also... (1 Reply)
Discussion started by: chadb
1 Replies
7. Linux
Hi.
Here's my setup:
a workstation with an X server
a CentOS server with no X server installed (development, security is not a concern)
a GUI application installed on the server
When I ssh to that machine, I get:
ssh -Xl root 192.168.x.x
Warning: untrusted X11 forwarding setup... (4 Replies)
Discussion started by: flj
4 Replies
8. UNIX and Linux Applications
:o no longer need this. (0 Replies)
Discussion started by: tokposman
0 Replies
9. HP-UX
Hi all,
am new to the forum. i would like to check with the community whether anyone had tried to run self-developed UNIX apps on the CYGWIN? Does the CYGWIN presents a friendly environment to host the UNIX apps? thanks :) (14 Replies)
Discussion started by: lchunleo
14 Replies
LEARN ABOUT OSX
mac::apps::launch
Launch(3) User Contributed Perl Documentation Launch(3)
NAME
Mac::Apps::Launch - Mac module to launch /quit applications
SYNOPSIS
use Mac::Apps::Launch;
my @apps = qw(R*ch Arch MPGP);
my $path = "HD:System Folder:Finder";
LaunchApps([@apps], 1) or warn $^E; # launch and switch to front
LaunchApps([@apps]) or warn $^E; # launch and don't switch
LaunchApps($app, 1) or warn $^E; # launch and switch to front
LaunchSpecs($path, 1) or warn $^E; # use path instead of app ID
QuitApps(@apps) or warn $^E; # quit all @apps
QuitAllApps(@apps) or warn $^E; # quit all except @apps
IsRunning('MACS'); # returns boolean for whether
# given app ID is running
SetFront('MACS') or warn $^E; # set Finder to front
Hide('MACS') or warn $^E; # hide Finder
Show('Finder', 1) or warn $^E; # show Finder (1 == use name)
DESCRIPTION
Simply launch or quit applications by their creator ID. The Finder can be quit in this way, though it cannot be launched in this way.
This module is used by many other modules.
This module as written does not work with MacPerls prior to 5.1.4r4.
"Hide" and "Show" do not currently work on Mac OS X.
Apps that don't have signatures under Mac OS X currently aren't handled, except with LaunchSpecs().
"SetFront" and "IsRunning" can take a four-char creator ID ('MACS'), a bundle ID ('com.apple.Finder'), or a path
(/System/Library/CoreServices/Finder.app). They both optionally take a second parameter which affirms that the data is indeed a path (for
those rare cases where a path might possibly look like a creator ID or bundle ID ... you never know).
"IsRunning" will return the PSN of the application if it is running, which you can then use for targetting the app, or converting to a PID
(with "Mac::Processes::GetProcessPID()"), to send signals to it.
EXPORT
Exports functions "QuitApps", "QuitAllApps", and "LaunchApps", "IsRunning", "LaunchSpecs", "SetFront", "Hide", "Show".
AUTHOR
Chris Nandor <pudge@pobox.com>, http://pudge.net/
Copyright (c) 1999-2005 Chris Nandor. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
perl v5.16.2 2007-01-03 Launch(3)