Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - how to bring shell builtin into QNX 6.6 QT 5.3.1: (3 Items)
   
how to bring shell builtin into QNX 6.6 QT 5.3.1  
Hi QNX,

       qnx sdp 6.6,
       BSP_ti-am335x-beaglebone_br-660_be-660_SVN797070_JBN574.zip
       beaglebone black Rev. C
       QT 5.3.1

I implemented a QT program similar to https://evileg.com/en/post/261/

input filesystem command such as "ls", which will list the files under current directory. and "pwd" will show the 
current directory path. "ls" / "pwd" and lots of other commands are available @ /opt/qnx660/target/qnx6/armle-v7/bin, 
however there is no "cd" since 'cd' is a shell builtin.

Please advise how I can bring the shell environment into this QT program, in which then I am able to use "cd" to 
change directories.

Thanks in advance

Mike
Re: how to bring shell builtin into QNX 6.6 QT 5.3.1  
You can run "ls" and so on - can you run "ksh"?
Re: how to bring shell builtin into QNX 6.6 QT 5.3.1  
> You can run "ls" and so on - can you run "ksh"?

Hi Malte Mundt,

As suggested, I tried "ksh", then no commands can be executed ever since. i.e., "ls" or "pwd" will bring the content of 
the current directory; then input "ksh", no response as expected; after that,  "ls" or "pwd" also stops working.

I checked that the "ksh" is available @ 

# find -iname "ksh"
./proc/boot/ksh
./base/bin/ksh

Please advise, thanks in advance

Mike