Timothy Snyder wrote: >Graham, David wrote: > ><snip> >> I have a UniBasic program that executes the following line of code: >> >> PCPERFORM "cd \folder\folder\U2Account; udt PHANTOM ProgramName" ><snip> >> the process that executed the PCPERFORM command will wait until >> "ProgramName" has completed and *then* will return to the original >process. [snip] >It's not an issue with PCPERFORM. Also, I'm a bit confused by the command >itself. The backslashes indicate you're in Windows, but the command separator of a >semicolon indicates UNIX. > >Try replacing your command with the following: > > PCPERFORM "cd \folder\folder\U2Account & echo PHANTOM ProgramName | >udt" > >for windows or > > PCPERFORM "cd /folder/folder/U2Account ; echo PHANTOM ProgramName | >udt" > >for UNIX.
On UNIX I'd go with: CMD="cd /folder/folder/U2Account; nohup udt PHANTOM ProgramName &" CRT CMD PCPERFORM CMD On Windows, I'd try something like: CMD="cd \folder\folder\U2Account & start udt PHANTOM ProgramName" CRT CMD PCPERFORM CMD HTH, Ken -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users