OVH Cloud OVH Cloud

ouvrir un programme avec des parametres dansle terminal

3 réponses
Avatar
Jacot
bonjour,
comment lancer un programme avec des parametres
open-a prg fonctionne mais pas avec des parametes.
En fait je voudrais lancer la commande

vlc --rtp-client-port 34566 playlist.m3u

Jacques

3 réponses

Avatar
laurent.pertois
Matt wrote:

$ cd /Applications/VLC.app/Contents/MacOS/ && ./VLC --rtp-client-port
34566 playlist.m3u


Pourquoi le cd ?

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
laurent.pertois
Matt wrote:

On Tue, 17 Jan 2006 01:28:49 +0100,
Laurent Pertois wrote:

Pourquoi le cd ?


Chuis parano.
J'aime bien me positionner d'abord lorsqu'un binaire est dans un
répertoire qui n'est pas dans mon path.


Sans même le mettre dans ton path,
/Applications/VLC.app/Contents/Macos/VLC --blablablabla


--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.


Avatar
Jacot
On Tue, 17 Jan 2006 08:13:08 +0100,
(Laurent Pertois) wrote:

Matt wrote:

On Tue, 17 Jan 2006 01:28:49 +0100,
Laurent Pertois wrote:

Pourquoi le cd ?


Chuis parano.
J'aime bien me positionner d'abord lorsqu'un binaire est dans un
répertoire qui n'est pas dans mon path.


Sans même le mettre dans ton path,
/Applications/VLC.app/Contents/Macos/VLC --blablablabla


ok merci. Je ne savais pas dans quel dossier il fallait chercher
l'éxécutable.