Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Launch program and pass parameters to it
Launch program and pass parameters to it [message #443979] Tue, 05 October 2004 09:54
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
Hi all

I'd like to start a program (Adobe Reader) with parameters. However, I
don't see a way to specify parameters for the program that will run my file.

I start the PDF reader using the following command:
Program.launch(fileToOpen.getAbsolutePath());

fileToOpen is a PDF file. And I'd like to pass the parameters "/p /h" to
the acrobat reader if this is the default program for opening PDF files.

I'd be very happy for any help on that.

Christian
Previous Topic:SWT JAR packaging
Next Topic:Unsatisfied link error while running SWT standalone application.
Goto Forum:
  


Current Time: Thu Apr 18 23:30:29 GMT 2024

Powered by FUDForum. Page generated in 0.01787 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top