- Launching a command-line program within BlackBox

From: Treutwein Bernhard <"Treutwein>
Date: Tue, 30 May 2006 08:44:54 +0200

----boundary-LibPST-iamunique-1999845055_-_-
Content-type: text/plain

Hi Chris,

> I've produced a working prototype of a function which
> launches an arbitrary command-line program within BlackBox
> and redirects the output to a BlackBox view. Before I spend
> the 95% effort required to finish off the remaining 5% can
> anybody tell me if such a function has already been written
> for BlackBox?

not the redirection, but (although I had not yet the spare
time to check explore them), there were two solutions for
launching a CLI exe in BlackBox posted quite some time ago.

regards
--
	Bernhard Treutwein
	Bernhard.Treutwein(at)verwaltung uni-muenchen de (work)
	BdT(at)wildwein de (home)
StdCoder.Decode ..,, ..xd....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,c.J.0k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.2e7k26.FO06.,U08J99SdfJHPNjvQCJuGKfaqmY6MwdONl1QCh0708T,U..w.Iy6U.
 sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.tj,w,Yy4E.2.ws,U00.bnUGLu8ro8quGrmCL
 WKqtE0E.kNE.0.p.0.4.0EJ2wAC.6.VQ.kbG.0.8Fu4Uwpr,cUXzId9NBuPN9Nbf9BuPN9N7ON
 bvMQ.6.YDY,IA6.M.QkmT,6..T.70,.o4cUZT1E..UO.,.1U.c8.2UE0G.yToSLrGa1U.2.I0.
 8T5U.kJE4k6U.M.4.,Y..oF6.c5Nf.OS28U0Cy2hgqRcjhhhBgiZgZJinpZHZCh0E.4TWKKv.U
 io8.,cwE.0.d.,.B.0UJUFU,Ikmj,2U...7,,.4E.0E.QcjhimBhZJiUodZxCl6w1.0E6,T,zT
 HT8Ff8H986,NH99NHPM5OMN9P98S9vCPM0HOHVuHZ8J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S.V1CrRqk2a.Goo.2Yug5kv.in4Er.22w8UHxeTRe6xdLRbBA,W42Yug5.2hZZhgh6UcIUCBd
 AJUg2YgtHVHt.N,B0N,V0K4Y3Y6.mGEuqdWqrUdQ5MFZfQTfQTORd98FPORvQamRq.8pWGpe8J
 b0GoaKr66x76bdArN1KIbMFlPNkRqEJam4ak4KIbGYUgdZ,.RN1Pc.PON7PO.6FTP1P6GTvQd9
 FHPMNvPDf9b8R1XcIYXJ5.o6QC.M8,N13QwdONQcjphoJijZhghgmRiiQ87vEdfQN9F9vQ0ksH
 3..RtETfPd16F9vQ59.C244.IC...Qii..70,cw7U.2.Y02.A,,U..U,Iklb8IepZhZJinpZHF
 dKLq6F6.XDJ.QiiIepZhZ7F6.Zz.6.,UfW5UXW.2.52.CLLC3b8Rn9P99F9vQ0ks,Uikwm46.Z
 z,0E.2.U6UO,,U0CS.c918Rd1EWK4,E0E...7,,M.,.,.,tcp00kXat.Ih8l.k.E.0.3gwU...
 p.0.4.I3.0E65.2..N6yY,YZPS9L6y0I,5TWy4P1Qcj,.k7U...F.,.aU.EAjot2YbQI,AzJE.
 nT32XD3B,h8lI..DQ....
 --- end of encoding ---
--
	Bernhard Treutwein, IuK, Ref. III A 3
	Bernhard.Treutwein(at)verwaltung uni-muenchen de
> -----Original Message-----
> From: blackbox{([at]})nowhere.xy> Behalf Of CFB Software
> Sent: Monday, May 29, 2006 2:34 AM
> To: BlackBox Mailing List
> Subject: [BlackBox] - Launching a command-line program within BlackBox
> 
> 
> I've produced a working prototype of a function which 
> launches an arbitrary command-line program within BlackBox 
> and redirects the output to a BlackBox view. Before I spend 
> the 95% effort required to finish off the remaining 5% can 
> anybody tell me if such a function has already been written 
> for BlackBox?
> 
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy----boundary-LibPST-iamunique-1999845055_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW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QgQU1ccGFy
DQo+IFRvOiBCbGFja0JveCBNYWlsaW5nIExpc3RccGFyDQo+IFN1YmplY3Q6IFtCbGFja0JveF0g
LSBMYXVuY2hpbmcgYSBjb21tYW5kLWxpbmUgcHJvZ3JhbSB3aXRoaW4gQmxhY2tCb3hccGFyDQo+
IFxwYXINCj4gXHBhcg0KPiBJJ3ZlIHByb2R1Y2VkIGEgd29ya2luZyBwcm90b3R5cGUgb2YgYSBm
dW5jdGlvbiB3aGljaCBccGFyDQo+IGxhdW5jaGVzIGFuIGFyYml0cmFyeSBjb21tYW5kLWxpbmUg
cHJvZ3JhbSB3aXRoaW4gQmxhY2tCb3ggXHBhcg0KPiBhbmQgcmVkaXJlY3RzIHRoZSBvdXRwdXQg
dG8gYSBCbGFja0JveCB2aWV3LiBCZWZvcmUgSSBzcGVuZCBccGFyDQo+IHRoZSA5NSUgZWZmb3J0
IHJlcXVpcmVkIHRvIGZpbmlzaCBvZmYgdGhlIHJlbWFpbmluZyA1JSBjYW4gXHBhcg0KPiBhbnli
b2R5IHRlbGwgbWUgaWYgc3VjaCBhIGZ1bmN0aW9uIGhhcyBhbHJlYWR5IGJlZW4gd3JpdHRlbiBc
cGFyDQo+IGZvciBCbGFja0JveD9ccGFyDQo+IFxwYXINClxwYXINCi0tLSBCbGFja0JveFxwYXIN
Ci0tLSBzZW5kIHN1YmplY3QgSEVMUCBvciBVTlNVQlNDUklCRSB0byBibGFja2JveEBvYmVyb24u
Y2hccGFyDQp9fQB5IDIw
----boundary-LibPST-iamunique-1999845055_-_---
Received on Tue May 30 2006 - 08:44:54 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:57 UTC