Unable to open file using shell or process

Mike Bonner bonnmike at gmail.com
Thu Oct 14 13:09:46 EDT 2010


oh duh, not a shell.  So can't do the cd first so do my first suggestion and
point to the exact path of the tt.conf

On Thu, Oct 14, 2010 at 11:08 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> Is the tt.conf in the same folder with nr.php?
>
> try /home/Bill/Desktop/report/nr.php -f /home/Bill/Desktop/report/tt.conf
> if it is, or simplify it by switching there first.
>
> "cd /home/Bill/Desktop/report ; ./nr.php -f tt.conf"
>
>
> On Thu, Oct 14, 2010 at 10:56 AM, Glen Bojsza <gbojsza at gmail.com> wrote:
>
>> Hi Ken,
>>
>> It does not make a difference though thanks for pointing it out... I was
>> also trying to add 2>&1 & after the tt.conf to see if that made a
>> difference
>> but it did not.
>>
>> Glen
>>
>> On Thu, Oct 14, 2010 at 10:47 AM, Ken Ray <kray at sonsothunder.com> wrote:
>>
>> > > on mouseUp
>> > > put "/home/Bill/Desktop/report/nr.php -f tt.conf " into promysql
>> > >    open process promysql for update
>> > >    read from process promysql for 500
>> > >    put it into fld tout
>> > >    write "quit" to process promysql
>> > >    close process promysql
>> > > end mouseUp
>> > >
>> > > Error: Unable to open tt.conf
>> >
>> > Glen,
>> >
>> > Not that it should make a difference, but it appears there's a space
>> after
>> > your command. I haven't used 'open process' to run a php script, so I
>> may
>> > just be shooting blanks here, but just thought I'd pass that along.
>> >
>> > Ken Ray
>> > Sons of Thunder Software, Inc.
>> > Email: kray at sonsothunder.com
>> > Web Site: http://www.sonsothunder.com/
>> >
>> >
>> > _______________________________________________
>> > use-revolution mailing list
>> > use-revolution at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-revolution
>> >
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>



More information about the use-livecode mailing list