Thanks Tim,

(windows)
I have done the set text to pasteboard thing, and I have pasted into a 
.bet file -- it works.
I have typed - exactly - what I have for a command being fed to LEP and 
it works
run it through LEP and nothing...

That is why I want to see what LEP is feeding to the OS

On Wed, 11 Apr 2018 14:11:59 -0500, Tim Nevels via 4D_Tech wrote:
> On Apr 11, 2018, at 2:00 PM, Chip Scheide wrote:
> 
>> Is there a way to see exactly what is being sent to the (in this case) 
>> CMD, or Terminal?
> 
> Hi Chip,
> 
> Every time I am going to do a new LEP command, the first thing I do 
> is manually execute it in a Command or Terminal window on macOS. I don
> ’t even try to just code up the string and run it with LEP. Too many 
> times I’ve miss a space or a double-quote or I’m doing the wrong 
> thing all together.
> 
> So I first get the command working in the Terminal window. Then I 
> copy it and paste it as a comment in the 4D method. For future 
> reference. Then I write the code to create this command in the 
> method. I always put the entire command in a text variable like 
> $command_t.  I have a “debug” line in the method that does SET TEXT 
> TO PASTEBOARD($command_t). 
> 
> Now I run LEP and if it works I’m done. If not, I do a paste into 
> the Terminal window and run it and see what error messages are 
> displayed, or I see what I did wrong (i.e. missed a space or a 
> double-quote). 
> 
> That’s how I do it.
> 
> Tim
> 
> *****************************************
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> [email protected]
> *****************************************
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to