× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
funfun reported 2017-08-21T20:49:23Z  · tomconrad last modified 2018-03-06T17:39:43Z

FluidSchell: executing a set of commands using &&


PM
Priority Low
Complexity Unknown
Component App - FluidShell
Version Future

When working on a customer question, I noticed that "executing a set of commands sequentially with && operator" is not implemented correctly in FluidShell.

When executing a set of commands chained together using && operator, when a command execution failed, then subsequent commands should not be executed. In FulidShell, when executing a set of commands with && operator, all of commands get executed despite some of them failed.

Here is a simple case to reproduce the problem:

(1) Open a FluildShell.
(2) > cd any_directory_you_have_access
(3) > mkdir tmp_test
(4) > cd tmp_test
(5) > date && cd xxx && date && cd xxx && date
where > is FluidShell prompt

At step (5), there are 5 commands to be executed, 3 'date' commands and 2 'cd xxx' commands. In UNIX environment, only the first 2 commands will get executed, i.e. the first 'date' command and the first 'cd xxx' command. Since directory xxx does not exist, hence, the first 'cd xxx' command will fail and subsequent commands will not be executed. In FluidShell, all of 5 commands will get executed, this is incorrect.  Please see this attachment.

1 attachment

Issue #15445

New
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017