You can cfexecute a shell-script with arguments, of where the first
argument is the file that you really want to execute, then the script
fixes the problem and executes the actual file. It is not a very beautiful
solution.
(Still waiting for a tech note on this)
/Hugo
-------------------------------------------------------------
Hugo Ahlenius E-Mail: [EMAIL PROTECTED]
Project Officer Phone: +46 8 230460
UNEP GRID-Arendal Fax: +46 8 230441
Stockholm Office Mobile: +46 733 467111
WWW: http://www.grida.no
-------------------------------------------------------------
| -----Original Message-----
| From: Adam Hope [mailto:[EMAIL PROTECTED]
| Sent: Friday, November 07, 2003 11:20
| To: CF-Talk
| Subject: RE: cfexecute on unix
|
|
| Hi All,
|
| We are in the process of migrating our CF5 system to CFMX 6.1
| on Solaris and we now need to use cfexecute and pass multiple
| arguments with spaces into it.
|
| Does anyone have a workaround that is more complete than the
| macromedia suggestion below? In other words does anyone have
| a working custom cfx to do this or a better/different solution?
|
| Thanks,
|
| Adam.
|
| -----Original Message-----
| From: Hiroshi Okugawa [mailto:[EMAIL PROTECTED]
| Sent: 04 November 2003 20:21
| To: CF-Talk
| Subject: RE: cfexecute on unix
|
|
|
| Unfortunately cfexecute doesn't work correctly with
| argument which contains
| spaces. (bugid 50604)
| # It's Linux/Unix only.
|
| I think you may create custom java cfx for workaround.
| # use Runtime.getRuntime().exec(String []) instead of
| Runtime.getRuntime().exec(String)
|
| sorry for inconvenience.
|
| Thanks,
| --
| Hiroshi
|
|
|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

