capturing values from system command
Jose Lerebours
fpgroups at gmail.com
Tue Dec 15 08:20:32 PST 2015
user command comes to find ... being well over 10 years since I last
used it but I think this would be a good bet it is meant to capture
output from shell scripts.
alternatively, dump output to a file and read the file back ... easy
filePro IO approach.
good luck!
On 12/15/2015 11:14 AM, John Sica via Filepro-list wrote:
> Maybe putenv and getenv.
>
> On 12/15/2015 8:56 AM, scooter6--- via Filepro-list wrote:
>> I'm writing a process that will send out credit card information to our
>> merchant provider and have everything pretty much completed....
>>
>> After a series of data entry fields obviously, the data is captured and
>> then I pass along those variables to a shell script that creates the
>> XML,
>> sends it to our carrier and I'm using a python script to parse it and
>> then
>> shows the result at the bottom of the screen for the person who executed
>> the command.....
>> Since there really isn't a 'record' created yet, I can't really use
>> the px
>> to bring a value back...
>> Is there a way to capture the results of my shell script back to the
>> processing that created it?
>> I know there may be a 'better' way to do all this but don't really
>> have the
>> time to start over
>> Everything works great except I can't capture the results from the
>> merchant
>> side (i.e. authorization code or declined and decline reason)
>>
>> thanks
>>
>> Scott
>> PDM
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> <http://mailman.celestial.com/pipermail/filepro-list/attachments/20151215/b6b8c1f3/attachment.html>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> _______________________________________________
> 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