excutable from menu line

Dennis Malen dmalen at malen.com
Mon Jun 10 09:42:21 PDT 2013


Between Ken and Bill, I was able to correct the silly mistake.

When I executed from the prompt I was sitting in /tmp where the files were
located. Changed the script to include /tmp and the menu line works as
advertised. 

Thanks!

Dennis

-----Original Message-----
From: filepro-list-bounces+dmalen=malen.com at lists.celestial.com
[mailto:filepro-list-bounces+dmalen=malen.com at lists.celestial.com] On Behalf
Of Bill Campbell
Sent: Monday, June 10, 2013 12:27 AM
To: filepro-list at lists.celestial.com
Subject: Re: excutable from menu line

On Sun, Jun 09, 2013, Dennis Malen wrote:
>I can use the following executable file from the system prompt on my 
>aix unix system:
>
> 
>
>$ cat trakcombine             
>
>cat trakfhd.wp > trakfile     
>
>cat trakrhdpay.wp >> trakfile
>
>cat traksubpay.wp >> trakfile
>
>cat trakrhdcst.wp >> trakfile
>
>cat traksubcst.wp >> trakfile
>
> 
>
>I execute the file this way:
>
>$ trakcombine

That shouldn't work with a sane PATH which doesn't include the current
directory (e.g. has :.: or ends with :).  With a proper path, this would
work using './trakcombine'.
>
>It works fine from the system prompt.
>
>The file resides in /tmp and when I use the following on a menu line it 
>does not work execute:

Is the /tmp directory a mounted file system with noexec specified?

Does the file start with '#!/bin/sh' or some such?

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

"If taxation without consent is robbery, the United States government has
never had, has not now, and is never likely to have, a single honest dollar
in its treasury." -- Lysander Spooner, Letter to Grover Cleveland 1886
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list