Executing shell commands in VxWorks 6.9 RTP application -


how can execute shell commands dump memory (d()), xbdcreatepartition, dosfsvolformat, dosfsshow rtp application program? linux provides system commands job, how achieved in vxworks6.9?

if looking equivalent of system(), allow execute arbitrary command, out of luck.

however, "shell" used interacting c interpreter, , command running available called code. call dosfsvolformat example own code.

there caveat here, functionality implemented in kernel, , these functions may not available in rtp. functions available vary release release, , may dependant on kernel configuration. can compare user versions of headers kernel version see might available.

you can write own system calls, however, expose kernel functionality rtp application.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -