Re: cfexecute - at my wits end!
> It is like sox > isn't closing and leaving memory like it should be, but if I run it > directly from the command line, I don't have that problem. Try Ben Forta's tip of adding /c as an argument. "This tells the command interpreter to run and terminate upon completion". I had a similar problem with ffmpeg and using \c solved it for me. http://www.forta.com/blog/index.cfm/2006/7/31/Using-CFEXECUTE-To-Execute-Command-Line-Utilities ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304287 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute - at my wits end!
Okay, I have taken both of your suggestions. I changed coldfusion to run under my user account. That caused it to be able to launch the sox application successfully, SOMETIMES. I did the array of arguments. That didn't affect anything, but I left it that way. So now my problem is that when it works, sox stays in memory. I even tried going with a batch file, and I get the same result. It is like sox isn't closing and leaving memory like it should be, but if I run it directly from the command line, I don't have that problem. Please help with any other ideas. Thanks, Dave ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304285 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute - at my wits end!
>Do you have quoted values in your arguments? CFEXECUTE won't handle >those correctly. However, you can pass an array of arguments (instead >of a string), and those should work. Yes! I will check into the array thing. Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304282 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute - at my wits end!
Do you have quoted values in your arguments? CFEXECUTE won't handle those correctly. However, you can pass an array of arguments (instead of a string), and those should work. That being said, I usually go to an intermediary shell script (or BAT file) when I have to shell out from CF. That gives me better control over the execution. cheers, barneyb On Wed, Apr 23, 2008 at 5:54 PM, Dave Phillips <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to combine two wav files from the command prompt using > coldfusion and sox (http://sox.sourceforge.net/). I am using cfexecute. I > can output my 'name' and 'arguments' attribute for cfexecute to the screen, > copy and paste them to the command prompt and the program executes perfectly. > However, when I run the cfexecute, the program apparently does not execute. > I'm on a windows system, with MX 7. I can't explain why. I've tried using > the output variable and I just get an empty text file. > > Does anyone have any ideas? If you know of any other COM object or library > I could use instead, that would be fine too. I'm just needing to combine > wave files from within my CF app. > > Thanks, > > Dave > -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304121 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute - at my wits end!
Have you got your ColdFusion Service running with a user account? If not, try using the same account that you use to log onto the server with. On Thu, Apr 24, 2008 at 8:54 AM, Dave Phillips < [EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to combine two wav files from the command prompt using > coldfusion and sox (http://sox.sourceforge.net/). I am using cfexecute. > I can output my 'name' and 'arguments' attribute for cfexecute to the > screen, copy and paste them to the command prompt and the program executes > perfectly. However, when I run the cfexecute, the program apparently does > not execute. I'm on a windows system, with MX 7. I can't explain why. > I've tried using the output variable and I just get an empty text file. > > Does anyone have any ideas? If you know of any other COM object or > library I could use instead, that would be fine too. I'm just needing to > combine wave files from within my CF app. > > Thanks, > > Dave > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304120 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfexecute - at my wits end!
Hi all, I am trying to combine two wav files from the command prompt using coldfusion and sox (http://sox.sourceforge.net/). I am using cfexecute. I can output my 'name' and 'arguments' attribute for cfexecute to the screen, copy and paste them to the command prompt and the program executes perfectly. However, when I run the cfexecute, the program apparently does not execute. I'm on a windows system, with MX 7. I can't explain why. I've tried using the output variable and I just get an empty text file. Does anyone have any ideas? If you know of any other COM object or library I could use instead, that would be fine too. I'm just needing to combine wave files from within my CF app. Thanks, Dave ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4